Expand description
Components and resources related to the physics simulation workflow (events, hooks, etc.)
Structs§
- Contact
Force Event - Event occurring when the sum of the magnitudes of the contact forces
between two colliders exceed a threshold (
ContactForceEventThreshold). - Contact
Modification Context View - Read-write access to the properties of a contact modification context.
- Pair
Filter Context View - Read-only access to the properties of a collision pair filter context.
- Physics
Quarantine Event - Event emitted after a simulation step during which Rapier detected non-finite (NaN or infinite) state and neutralized it.
- Query
Filter - A filter that describes what collider should be included or excluded from a scene query.
- Query
Filter Flags - Flags for filtering spatial queries by body type or sensor status.
- Soft
Body Cluster Split - A piece of a soft-body cluster split by a tear (see
SoftBodyTearEvent::cluster_splits). - Soft
Body Joint Move - An impulse joint moved to another cluster proxy by a tear (see
SoftBodyTearEvent::moved_joints). - Soft
Body Tear Event - Message sent after a soft body tore (an element loaded past its tear threshold, or a tear or
cut requested through
RapierContextMut::tear_soft_bodyorRapierContextMut::cut_soft_body). - Soft
Body Tear Piece - A soft body resulting from a tear (see
SoftBodyTearEvent::pieces). - Soft
Body Tear Result - The result of a tear or cut requested through
RapierContextMut::tear_soft_bodyorRapierContextMut::cut_soft_body.
Enums§
- Collision
Event - Events occurring when two colliders start or stop colliding
Traits§
- Bevy
Physics Hooks - User-defined functions called by the physics engines during one timestep in order to customize its behavior.