flatland-pathfinding 0.2.32

Shared grid A* pathfinding for Flatland3 clients and sim
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Grid A* pathfinding shared by the gfx client and region sim (hired workers).

mod grid;
mod path;
mod session;
mod z_nav;

pub use grid::{
    circles_from_placed_containers, circles_from_views, collides_player_at, snap_nav_goal,
    NavBlockingCircle, NavWorld, PATH_CLEARANCE_M, DEFAULT_PLACED_PROP_BLOCK_RADIUS_M,
    PLAYER_RADIUS_M,
};
pub use path::{find_path, find_path_with_goal_z};
pub use session::{
    effective_move_speed_mps, PathSession, PathSteer, DEX_MOVE_COEFF, ARRIVE_RADIUS_M,
    WAYPOINT_RADIUS_M,
};
pub use z_nav::{goal_z_for, transition_vertical, Z_LEVEL_TOLERANCE};