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