public static Arrive ( Vector3 position, Vector3 destination, float deceleration, Vector3 velocity, float maxSpeed, Vector3 forceInfluence, Vector3 &steeringForce ) : void | ||
position | Vector3 | Current position of the agent |
destination | Vector3 | Current position of the destination |
deceleration | float | Deceleration factor applied when reaching close to destination |
velocity | Vector3 | Current velocity of the agent |
maxSpeed | float | Current maximum speed of the agent |
forceInfluence | Vector3 | Limits for each axis |
steeringForce | Vector3 | The resulting force |
Résultat | void |