Flags which control the behavior of an actor.
More...
#include <PxActor.h>
Enumerator |
---|
eVISUALIZATION |
Enable debug renderer for this actor.
- See Also
- PxScene.getRenderBuffer() PxRenderBuffer PxVisualizationParameter
|
eDISABLE_GRAVITY |
Disables scene gravity for this actor.
|
eSEND_SLEEP_NOTIFIES |
Enables the sending of PxSimulationEventCallback::onWake() and PxSimulationEventCallback::onSleep() notify events.
- See Also
- PxSimulationEventCallback::onWake() PxSimulationEventCallback::onSleep()
|
eDISABLE_SIMULATION |
Disables simulation for the actor.
- Note
- This is only supported by PxRigidStatic and PxRigidDynamic actors and can be used to reduce the memory footprint when rigid actors are used for scene queries only.
-
Setting this flag will remove all constraints attached to the actor from the scene.
-
If this flag is set, the following calls are forbidden:
- PxRigidBody: setLinearVelocity(), setAngularVelocity(), addForce(), addTorque(), clearForce(), clearTorque()
- PxRigidDynamic: setKinematicTarget(), setWakeCounter(), wakeUp(), putToSleep()
- Sleeping:
- Raising this flag will set all velocities and the wake counter to 0, clear all forces, clear the kinematic target, put the actor to sleep and wake up all touching actors from the previous frame.
|
The documentation for this struct was generated from the following file: