Blender V2.61 - r43446
|
#include <PHY_IPhysicsEnvironment.h>
Public Member Functions | |
virtual | ~PHY_IRayCastFilterCallback () |
virtual bool | needBroadphaseRayCast (PHY_IPhysicsController *controller) |
virtual void | reportHit (PHY_RayCastResult *result)=0 |
PHY_IRayCastFilterCallback (PHY_IPhysicsController *ignoreController, bool faceNormal=false, bool faceUV=false) | |
Public Attributes | |
PHY_IPhysicsController * | m_ignoreController |
bool | m_faceNormal |
bool | m_faceUV |
This class replaces the ignoreController parameter of rayTest function. It allows more sophisticated filtering on the physics controller before computing the ray intersection to save CPU. It is only used to its full extend by the Ccd physics environment (Bullet).
Definition at line 66 of file PHY_IPhysicsEnvironment.h.
virtual PHY_IRayCastFilterCallback::~PHY_IRayCastFilterCallback | ( | ) | [inline, virtual] |
Definition at line 73 of file PHY_IPhysicsEnvironment.h.
PHY_IRayCastFilterCallback::PHY_IRayCastFilterCallback | ( | PHY_IPhysicsController * | ignoreController, |
bool | faceNormal = false , |
||
bool | faceUV = false |
||
) | [inline] |
Definition at line 84 of file PHY_IPhysicsEnvironment.h.
virtual bool PHY_IRayCastFilterCallback::needBroadphaseRayCast | ( | PHY_IPhysicsController * | controller | ) | [inline, virtual] |
Reimplemented in KX_RayCast::Callback< T >.
Definition at line 77 of file PHY_IPhysicsEnvironment.h.
Referenced by FilterClosestRayResultCallback::needsCollision().
virtual void PHY_IRayCastFilterCallback::reportHit | ( | PHY_RayCastResult * | result | ) | [pure virtual] |
Implemented in KX_RayCast.
Referenced by CcdPhysicsEnvironment::rayTest().
Definition at line 70 of file PHY_IPhysicsEnvironment.h.
Referenced by CcdPhysicsEnvironment::rayTest().
Definition at line 71 of file PHY_IPhysicsEnvironment.h.
Referenced by CcdPhysicsEnvironment::rayTest().
Definition at line 69 of file PHY_IPhysicsEnvironment.h.
Referenced by FilterClosestRayResultCallback::needsCollision().