Function veloren_rtsim::rule::npc_ai::goto_flying

source ยท
fn goto_flying<S: State>(
    wpos: Vec3<f32>,
    speed_factor: f32,
    goal_dist: f32,
    step_dist: f32,
    waypoint_dist: f32,
    height_offset: f32,
) -> impl Action<S>
Expand description

Try to walk fly a 3D position following the terrain altitude at an offset without caring for obstacles.