Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Components and resources related to the physics simulation workflow (events, hooks, etc.)

Structs§

ContactForceEvent
Event occurring when the sum of the magnitudes of the contact forces between two colliders exceed a threshold (ContactForceEventThreshold).
ContactModificationContextView
Read-write access to the properties of a contact modification context.
PairFilterContextView
Read-only access to the properties of a collision pair filter context.
PhysicsQuarantineEvent
Event emitted after a simulation step during which Rapier detected non-finite (NaN or infinite) state and neutralized it.
QueryFilter
A filter that describes what collider should be included or excluded from a scene query.
QueryFilterFlags
Flags for filtering spatial queries by body type or sensor status.
SoftBodyClusterSplit
A piece of a soft-body cluster split by a tear (see SoftBodyTearEvent::cluster_splits).
SoftBodyJointMove
An impulse joint moved to another cluster proxy by a tear (see SoftBodyTearEvent::moved_joints).
SoftBodyTearEvent
Message sent after a soft body tore (an element loaded past its tear threshold, or a tear or cut requested through RapierContextMut::tear_soft_body or RapierContextMut::cut_soft_body).
SoftBodyTearPiece
A soft body resulting from a tear (see SoftBodyTearEvent::pieces).
SoftBodyTearResult
The result of a tear or cut requested through RapierContextMut::tear_soft_body or RapierContextMut::cut_soft_body.

Enums§

CollisionEvent
Events occurring when two colliders start or stop colliding

Traits§

BevyPhysicsHooks
User-defined functions called by the physics engines during one timestep in order to customize its behavior.