CS::Collisions::iCollisionContact Struct Reference
A structure used to describe a collision contact between two objects. More...
#include <ivaria/collisions.h>
Inheritance diagram for CS::Collisions::iCollisionContact:

Public Member Functions | |
| virtual csVector3 | GetNormalOnB () const =0 |
| Get the normal of the hit position on A in world space. | |
| virtual float | GetPenetration () const =0 |
| Get the depth of penetration. | |
| virtual csVector3 | GetPositionOnA () const =0 |
| Get the collision position of A in world space. | |
| virtual csVector3 | GetPositionOnB () const =0 |
| Get the collision position of B in world space. | |
Detailed Description
A structure used to describe a collision contact between two objects.
Definition at line 108 of file collisions.h.
Member Function Documentation
| virtual csVector3 CS::Collisions::iCollisionContact::GetNormalOnB | ( | ) | const [pure virtual] |
Get the normal of the hit position on A in world space.
Get the normal of the hit position on B in world space.
| virtual float CS::Collisions::iCollisionContact::GetPenetration | ( | ) | const [pure virtual] |
Get the depth of penetration.
| virtual csVector3 CS::Collisions::iCollisionContact::GetPositionOnA | ( | ) | const [pure virtual] |
Get the collision position of A in world space.
| virtual csVector3 CS::Collisions::iCollisionContact::GetPositionOnB | ( | ) | const [pure virtual] |
Get the collision position of B in world space.
The documentation for this struct was generated from the following file:
- ivaria/collisions.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
