Drag[en]gine Game Engine
1.21
|
Scripting Module Collider Peer. More...
#include <deBaseScriptingCollider.h>
Public Member Functions | |
Constructors and Destructors | |
deBaseScriptingCollider () | |
Create new peer. More... | |
virtual | ~deBaseScriptingCollider () |
Clean up peer. More... | |
Notifications | |
virtual void | CollisionResponse (deCollider *owner, deCollisionInfo *info) |
Determines the response for a given collision. More... | |
virtual bool | CanHitCollider (deCollider *owner, deCollider *collider) |
Determines if a collider can be hit. More... | |
virtual void | ColliderChanged (deCollider *owner) |
The properties of the collider changed. More... | |
virtual void | ColliderConstraintBroke (deCollider *owner, int index, deColliderConstraint *constraint) |
A collider constraint has broken. More... | |
virtual void | RigConstraintBroke (deCollider *owner, int bone, int index, deRigConstraint *constraint) |
A collider rig constraint has broken. More... | |
Scripting Module Collider Peer.
deBaseScriptingCollider::deBaseScriptingCollider | ( | ) |
Create new peer.
|
virtual |
Clean up peer.
|
virtual |
Determines if a collider can be hit.
If owner is NULL a ray collision is tested. Otherwise a collider versus collider collision is tested. If a collision is possible between the ray and a collider or two colliders true has to be returned otherwise false.
|
virtual |
The properties of the collider changed.
This is called by the physics module after the collision detection. This can possibly be called multiple times during collision detection.
|
virtual |
A collider constraint has broken.
|
virtual |
Determines the response for a given collision.
If deCollider::ertCustom is set the info object has to be updated by the scripting module with the response to the collision. In all other cases the info object should not be modified.
|
virtual |
A collider rig constraint has broken.