|
Rapier C — 3D / f32 0.36.0+c.0
|
Callbacks invoked while stepping, in addition to collecting the events. More...
#include <rapier.h>
Data Fields | |
| void * | user_data |
| Application data; Rapier does not own pointers encoded in it. | |
| R3CollisionEventCallback | collision_event |
| Optional collision start/stop callback. | |
| R3ContactForceEventCallback | contact_force_event |
| Optional contact-force callback. | |
Callbacks invoked while stepping, in addition to collecting the events.
They follow the R3PhysicsHooks rules: never unwind or retain arguments, read through the ReadContext, never mutate the world, and be safe for concurrent invocation in parallel builds. NULL callbacks are skipped.
| R3CollisionEventCallback R3EventCallbacks::collision_event |
Optional collision start/stop callback.
| R3ContactForceEventCallback R3EventCallbacks::contact_force_event |
Optional contact-force callback.
| void* R3EventCallbacks::user_data |
Application data; Rapier does not own pointers encoded in it.