Beispiel #1
0
 public Vector3 GetForce(Steering steering)
 {
     return(SteeringUtilities.getForceForDesiredVelocity(steering, Vector3.zero));
 }
Beispiel #2
0
 public Vector3 GetForce(Steering steering)
 {
     return(SteeringUtilities.getForceForDesiredVelocity(steering, SteeringUtilities.scaledVector(steering.GetMaxSpeed(), steering.GetDirection())));
 }