Skip to main content

move_on_rail_to_diff_segment

Function move_on_rail_to_diff_segment 

Source
pub fn move_on_rail_to_diff_segment(
    cmd: Commands<'_, '_>,
    q_onrail: Query<'_, '_, (Entity, &mut TrackPos)>,
    q_segments: Query<'_, '_, &TrackSegment>,
    q_nodes: Query<'_, '_, &TrackNode>,
)
Expand description

System that moves bogies to different track segments if they exceed the segment’s domain