Module physx::simulation_event_callback
source · Structs
- A new type wrapper for PxSimulationEventCallback. Parametrized by the ArticulationLink, RigidStatic, and RigidDynamic actors the callbacks expect, and the Collision, Trigger, ConstraintBreak, WakeSleep, and Advance Callbacks themselves.
Traits
- A trait for the Advance Callback. onAdvance() is called during simulation, so it must be thread safe, and
self
is not mutable. Parametrized by theArticulationLink
andRigidDynamic
types of the scene it is in. - A trait for onCollision()
- A trait for onConstraintBReak().
- A trait for onTrigger().
- A trait for
onWake()
andonSleep()
callbacks. Parametrized by theArticulationLink
,RigidStatic
, andRigidDynamic
types of the scene it is in.