[−][src]Module bevy_rapier2d::physics
Plugins, resources, and components for physics simulation.
Structs
ColliderHandleComponent | A component representing a collider that is being handled by a Rapier physics World. |
EntityMaps | HashMaps of Bevy Entity to Rapier handles |
EventQueue | A set of queues collecting events emitted by the physics engine. |
InteractionPairFilters | Custom filters for proximity and contact pairs. |
JointBuilderComponent | Component responsible for initializing a Rapier joint. |
JointHandleComponent | A component representing a joint added to the JointSet resource. |
PhysicsInterpolationComponent | A component to store the previous position of a body to use for interpolation between steps |
RapierConfiguration | A resource for specifying configuration information for the physics simulation |
RapierPhysicsPlugin | A plugin responsible for setting up a full Rapier physics simulation pipeline and resources. |
RigidBodyHandleComponent | A component representing a rigid-body that is being handled by a Rapier physics World. |
SimulationToRenderTime | Difference between simulation and rendering time |
Constants
TRANSFORM_SYNC_STAGE | The stage where the physics transform are output to the Bevy Transform. |
Functions
create_body_and_collider_system | System responsible for creating a Rapier rigid-body and collider from their builder resources. |
create_joints_system | System responsible for creating Rapier joints from their builder resources. |
destroy_body_and_collider_system | System responsible for removing joints, colliders, and bodies that have been removed from the scene |
step_world_system | System responsible for performing one timestep of the physics world. |
sync_transform_system | System responsible for writing the rigid-bodies positions into the Bevy translation and rotation components. |