Skip to main content

move_carriages_to_bogies

Function move_carriages_to_bogies 

Source
pub fn move_carriages_to_bogies(
    q_carriages: Query<'_, '_, (&Carriage, &mut Transform), Without<Bogie>>,
    q_bogies: Query<'_, '_, &Transform, With<Bogie>>,
)
Expand description

System that moves carriages to their bogies, aligning them properly