Struct landmass::AgentOptions
source · pub struct AgentOptions {
pub node_sample_distance: f32,
pub neighbourhood: f32,
pub avoidance_time_horizon: f32,
pub obstacle_avoidance_margin: f32,
pub obstacle_avoidance_time_horizon: f32,
}
Expand description
Options that apply to all agents
Fields§
§node_sample_distance: f32
The distance to use when sampling agent and target points.
neighbourhood: f32
The distance that an agent will consider avoiding another agent.
avoidance_time_horizon: f32
avoided.
obstacle_avoidance_margin: f32
The distance to stay away from the border of the nav mesh.
obstacle_avoidance_time_horizon: f32
The time into the future that collisions with obstacles should be avoided.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AgentOptions
impl Send for AgentOptions
impl Sync for AgentOptions
impl Unpin for AgentOptions
impl UnwindSafe for AgentOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more