Function bevy_rapier3d::plugin::systems::init_async_colliders
source · [−]pub fn init_async_colliders(
commands: Commands<'_, '_>,
meshes: Res<'_, Assets<Mesh>>,
async_colliders: Query<'_, '_, (Entity, &AsyncCollider)>
)
Expand description
System responsible for creating Collider
components from AsyncCollider
components if the
corresponding mesh has become available.