Static & dynamic collision detection system.
More...
|
Ogre::Vector3 | RoR::primitiveCollision (node_t *node, Ogre::Vector3 velocity, float mass, Ogre::Vector3 normal, float dt, ground_model_t *gm, float penetration=0) |
|
void | RoR::ResolveInterActorCollisions (const float dt, PointColDetector &interPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t inter_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model) |
|
void | RoR::ResolveIntraActorCollisions (const float dt, PointColDetector &intraPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t intra_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model) |
|
Static & dynamic collision detection system.
◆ CollisionBoxPtrVec
◆ CollisionMeshVec
◆ CollisionTriVec
◆ primitiveCollision()
Vector3 RoR::primitiveCollision |
( |
node_t * |
node, |
|
|
Ogre::Vector3 |
velocity, |
|
|
float |
mass, |
|
|
Ogre::Vector3 |
normal, |
|
|
float |
dt, |
|
|
ground_model_t * |
gm, |
|
|
float |
penetration = 0 |
|
) |
| |
◆ ResolveInterActorCollisions()
void RoR::ResolveInterActorCollisions |
( |
const float |
dt, |
|
|
PointColDetector & |
interPointCD, |
|
|
const int |
free_collcab, |
|
|
int |
collcabs[], |
|
|
int |
cabs[], |
|
|
collcab_rate_t |
inter_collcabrate[], |
|
|
node_t |
nodes[], |
|
|
const float |
collrange, |
|
|
ground_model_t & |
submesh_ground_model |
|
) |
| |
◆ ResolveIntraActorCollisions()
void RoR::ResolveIntraActorCollisions |
( |
const float |
dt, |
|
|
PointColDetector & |
intraPointCD, |
|
|
const int |
free_collcab, |
|
|
int |
collcabs[], |
|
|
int |
cabs[], |
|
|
collcab_rate_t |
intra_collcabrate[], |
|
|
node_t |
nodes[], |
|
|
const float |
collrange, |
|
|
ground_model_t & |
submesh_ground_model |
|
) |
| |