|
Blender
V2.59
|
#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 environement (Bullet).
Definition at line 68 of file PHY_IPhysicsEnvironment.h.
| virtual PHY_IRayCastFilterCallback::~PHY_IRayCastFilterCallback | ( | ) | [inline, virtual] |
Definition at line 75 of file PHY_IPhysicsEnvironment.h.
| PHY_IRayCastFilterCallback::PHY_IRayCastFilterCallback | ( | PHY_IPhysicsController * | ignoreController, |
| bool | faceNormal = false, |
||
| bool | faceUV = false |
||
| ) | [inline] |
Definition at line 86 of file PHY_IPhysicsEnvironment.h.
| virtual bool PHY_IRayCastFilterCallback::needBroadphaseRayCast | ( | PHY_IPhysicsController * | controller | ) | [inline, virtual] |
Reimplemented in KX_RayCast::Callback< T >.
Definition at line 79 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 72 of file PHY_IPhysicsEnvironment.h.
Referenced by CcdPhysicsEnvironment::rayTest().
Definition at line 73 of file PHY_IPhysicsEnvironment.h.
Referenced by CcdPhysicsEnvironment::rayTest().
Definition at line 71 of file PHY_IPhysicsEnvironment.h.
Referenced by FilterClosestRayResultCallback::needsCollision().