Struct steering::Arrive [] [src]

pub struct Arrive<T> where
    T: Real
{ pub behavior: RefCell<SteeringBehavior<T>>, pub tolerance: T, pub deceleration_radius: T, pub time_to_target: T, }

This behavior aims to arrive at target position and stop. It is like Seek behavior but aiming to be at zero speed on target.

Fields

Common behavior attributes

Stop if we are close enough.

Reduce the speed if we are close enough

How quick should we aproach target.

Trait Implementations

impl<T: Real> HasSteeringBehavior<T> for Arrive<T>
[src]

impl<T: Real> SteeringAccelerationCalculator<T> for Arrive<T>
[src]

[src]

[src]