#include <icollision.h>
Public Member Functions |
|
virtual int | SuppportedCollisions ()=0 |
virtual void | PreFrame (TimeValue t, TimeValue dt)=0 |
virtual void | PostFrame (TimeValue t, TimeValue dt)=0 |
virtual BOOL | CheckCollision (TimeValue t, Point3 pos, Point3 vel, float dt, float &at, Point3 &hitPoint, Point3 &norm, Point3 &friction, Point3 &inheritedVel)=0 |
virtual BOOL | CheckCollision (TimeValue t, Point3 pos, float radius, Point3 vel, float dt, float &at, Point3 &hitPoint, Point3 &norm, Point3 &friction, Point3 &inheritedVel)=0 |
virtual BOOL | CheckCollision (TimeValue t, Box3 box, Point3 vel, float dt, float &at, Point3 &hitPoint, Point3 &norm, Point3 &friction, Point3 &inheritedVel)=0 |
virtual BOOL | CheckCollision (TimeValue t, Point3 edgeA, Point3 edgeB, Point3 vel, float dt, float &at, Point3 &hitPoint, Point3 &norm, Point3 &friction, Point3 &inheritedVel)=0 |
virtual int SuppportedCollisions | ( | ) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual void PreFrame | ( | TimeValue | t, |
TimeValue | dt | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual void PostFrame | ( | TimeValue | t, |
TimeValue | dt | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual BOOL CheckCollision | ( | TimeValue | t, |
Point3 | pos, | ||
Point3 | vel, | ||
float | dt, | ||
float & | at, | ||
Point3 & | hitPoint, | ||
Point3 & | norm, | ||
Point3 & | friction, | ||
Point3 & | inheritedVel | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual BOOL CheckCollision | ( | TimeValue | t, |
Point3 | pos, | ||
float | radius, | ||
Point3 | vel, | ||
float | dt, | ||
float & | at, | ||
Point3 & | hitPoint, | ||
Point3 & | norm, | ||
Point3 & | friction, | ||
Point3 & | inheritedVel | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual BOOL CheckCollision | ( | TimeValue | t, |
Box3 | box, | ||
Point3 | vel, | ||
float | dt, | ||
float & | at, | ||
Point3 & | hitPoint, | ||
Point3 & | norm, | ||
Point3 & | friction, | ||
Point3 & | inheritedVel | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.
virtual BOOL CheckCollision | ( | TimeValue | t, |
Point3 | edgeA, | ||
Point3 | edgeB, | ||
Point3 | vel, | ||
float | dt, | ||
float & | at, | ||
Point3 & | hitPoint, | ||
Point3 & | norm, | ||
Point3 & | friction, | ||
Point3 & | inheritedVel | ||
) | [pure virtual] |
Implemented in CollisionPlane, CollisionSphere, and CollisionMesh.