Module context

Module context 

Source
Expand description

These are components used and modified during a simulation frame.

Modules§

systemparams
Helper types to ease bevy_rapier API usage, grouping often used together components through bevy::ecs::query::QueryData or bevy::ecs::system::SystemParam to avoid writing too much boilerplate: shorter parameters for your systems, and pass less parameters to bey_rapier lower level functions.

Structs§

DefaultRapierContext
Marker component for to access the default ReadRapierContext.
RapierContextColliders
The set of colliders part of the simulation.
RapierContextEntityLink
This is a component applied to any entity containing a rapier handle component. The inner Entity referred to has the component RapierContextSimulation and others from crate::plugin::context, responsible for handling its rapier data.
RapierContextJoints
The sets of joints part of the simulation.
RapierContextSimulation
The Rapier context, containing parts of the state of the physics engine, specific to the simulation step.
RapierQueryPipeline
Wrapper around QueryPipeline to provide bevy friendly methods.
RapierQueryPipelineMut
Wrapper around QueryPipelineMut to provide bevy friendly methods.
RapierRigidBodySet
The set of rigid-bodies part of the simulation.
SimulationToRenderTime
Difference between simulation and rendering time

Functions§

to_rapier_query_filter_predicate
Wraps a bevy query filter predicate taking an Entity into a rapier query filter predicate