Beispiel #1
0
 private void ApplyAcceleration()
 {
     rb.AddVelocity(accelFactor * (targetVelocity - rb.GetVelocity()));
 }