Function veloren_common::path::find_path
source ยท fn find_path<V>(
astar: &mut Option<Astar<Vec3<i32>, DefaultHashBuilder>>,
vol: &V,
startf: Vec3<f32>,
endf: Vec3<f32>,
traversal_cfg: &TraversalConfig,
) -> (Option<Path<Vec3<i32>>>, bool)
Expand description
Attempt to search for a path to a target, returning the path (if one was found) and whether it is complete (reaches the target)