|
Rapier C — 3D / f32 0.36.0+c.0
|
Callbacks must not unwind or retain arguments. More...
#include <rapier.h>
Data Fields | |
| void * | user_data |
| Application data; Rapier does not own pointers encoded in it. | |
| R3PairFilter | filter_contact_pair |
| Optional contact-pair filter, called only for colliders enabling the hook. | |
| R3PairFilter | filter_intersection_pair |
| Optional sensor-pair filter, called only for colliders enabling the hook. | |
| R3ModifyContacts | modify_solver_contacts |
| Optional legacy aggregate contact-edit callback. | |
| R3ModifyContactContext | modify_solver_contacts_context |
| Runs after the legacy property callback. | |
Callbacks must not unwind or retain arguments.
Use their ReadContext to inspect bodies and colliders; ordinary access to the stepping world returns WORLD_BUSY. Mutations must be performed after stepping. With parallel builds callbacks and their user_data must be safe for concurrent invocation. NULL callbacks use defaults.
| R3PairFilter R3PhysicsHooks::filter_contact_pair |
Optional contact-pair filter, called only for colliders enabling the hook.
| R3PairFilter R3PhysicsHooks::filter_intersection_pair |
Optional sensor-pair filter, called only for colliders enabling the hook.
| R3ModifyContacts R3PhysicsHooks::modify_solver_contacts |
Optional legacy aggregate contact-edit callback.
| R3ModifyContactContext R3PhysicsHooks::modify_solver_contacts_context |
Runs after the legacy property callback.
Context accessors may be called here.
| void* R3PhysicsHooks::user_data |
Application data; Rapier does not own pointers encoded in it.