Function bevy_rapier3d::plugin::systems::init_colliders
source · [−]pub fn init_colliders(
commands: Commands<'_, '_>,
config: Res<'_, RapierConfiguration>,
context: ResMut<'_, RapierContext>,
colliders: Query<'_, '_, ColliderComponents<'_>, Without<RapierColliderHandle>>,
rigid_body_mprops: Query<'_, '_, &mut ReadMassProperties>,
parent_query: Query<'_, '_, (&Parent, Option<&Transform>)>
)
Expand description
System responsible for creating new Rapier colliders from the related bevy_rapier
components.