fn move_n_meters_along_active(
n_meters: f32,
curr_idx: f32,
curr_segment_entity: Entity,
curr_dir: Dir,
q_segments: &Query<'_, '_, (Entity, &TrackSegment, &Transform)>,
q_nodes: &Query<'_, '_, (Entity, &TrackNode)>,
) -> Option<(Entity, f32, Dir)>Expand description
Function which tries to move n meters in global space along active connections.