Function bevy_rapier3d::plugin::systems::init_async_scene_colliders
source · pub fn init_async_scene_colliders(
commands: Commands<'_, '_>,
meshes: Res<'_, Assets<Mesh>>,
scene_spawner: Res<'_, SceneSpawner>,
async_colliders: Query<'_, '_, (Entity, &SceneInstance, &AsyncSceneCollider)>,
children: Query<'_, '_, &Children>,
mesh_handles: Query<'_, '_, (&Name, &Handle<Mesh>)>
)
Expand description
System responsible for creating Collider
components from AsyncSceneCollider
components if the
corresponding scene has become available.