#include <Collidable.h>
◆ VolumeType
Enumerator |
---|
BSPHERE | |
AABB | |
OBB | |
◆ Collidable() [1/3]
Collidable::Collidable |
( |
| ) |
|
◆ Collidable() [2/3]
◆ Collidable() [3/3]
◆ ~Collidable()
Collidable::~Collidable |
( |
| ) |
|
|
virtual |
◆ CollisionTerrain()
void Collidable::CollisionTerrain |
( |
| ) |
|
|
virtual |
◆ GetBSphere()
A reference to the stored Bsphere.
◆ GetCollisionVolume()
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
◆ SceneDeregistration()
void Collidable::SceneDeregistration |
( |
| ) |
|
|
private |
Scene deregistration.
Internal call to scenederegistration, called after the command has triggered. Performs the actual removal.
◆ SceneRegistration()
void Collidable::SceneRegistration |
( |
| ) |
|
|
private |
Scene registration.
Internal call to sceneregistraiton, called after the command has triggered. Performs the actual registration.
◆ SetCollidableGroup()
template<typename C >
template< typename C > void Collidable::SetCollidableGroup |
( |
| ) |
|
|
inlineprotected |
Sets collidable group.
- Template Parameters
-
◆ SetColliderModel()
void Collidable::SetColliderModel |
( |
Model * |
mod, |
|
|
VolumeType |
vol |
|
) |
| |
|
protected |
Sets collider model.
- Parameters
-
[in,out] | mod | If non-null, the modifier. |
Sets which model to associate with the collision testing.
◆ SubmitCollisionDeregistration()
void Collidable::SubmitCollisionDeregistration |
( |
| ) |
|
|
protected |
Submit collision deregistration.
This tells the engine to remove this object from the interest of collisions, once the command has triggered the object will no longer be processed for collision tests.
◆ SubmitCollisionRegistration()
void Collidable::SubmitCollisionRegistration |
( |
| ) |
|
|
protected |
Submits the collision registration from the user's perspective.
Using this command will tell the engine that this game object is currently being processed for collision data given that the correct collider was setup.
◆ UpdateCollisionData()
void Collidable::UpdateCollisionData |
( |
const Matrix & |
mat | ) |
|
|
protected |
Updates the collision data described by mat.
- Parameters
-
mat | The matrix to adjust the relative bsphere |
Call this whenever a matrix assoicated with the collidable object is adjusted.
◆ CollidableAttorney
◆ ColVolume
The stored collision volume.
◆ defaultBS
◆ myID
Identifier for an ID number.
◆ pColModel
Model* Collidable::pColModel |
|
private |
To be used for collision tests.
◆ pDeregCmd
◆ pMyDeleteRef
◆ pRegCmd
◆ RegStateCurr
The documentation for this class was generated from the following files: