[−][src]Function bevy_rapier2d::render::create_collider_renders_system
pub fn create_collider_renders_system(
commands: Commands,
meshes: ResMut<'_, Assets<Mesh>>,
materials: ResMut<'_, Assets<StandardMaterial>>,
configuration: Res<'_, RapierConfiguration>,
bodies: Res<'_, RigidBodySet>,
colliders: ResMut<'_, ColliderSet>,
query: Query<'_, Without<Handle<Mesh>, (Entity, &ColliderHandleComponent, Option<&RapierRenderColor>)>>
)
System responsible for attaching a PbrComponents to each entity having a collider.