1
This commit is contained in:
@@ -40,8 +40,8 @@ namespace BITFALL.Player.Movement
|
||||
}
|
||||
|
||||
currentPosition = Vector3.Lerp(currentPosition,velocity * posValue,posDelta * deltaTime);
|
||||
currentRotation = Quaternion.Lerp(currentRotation,Quaternion.Euler(angularVelocity * rotValue),rotDelta * deltaTime);
|
||||
|
||||
currentRotation = Quaternion.Slerp(currentRotation,Quaternion.Euler(angularVelocity * rotValue),rotDelta * deltaTime);
|
||||
|
||||
locationAdditive.AddEuler(currentRotation.eulerAngles);
|
||||
locationAdditive.AddPosition(currentPosition);
|
||||
}
|
||||
|
Reference in New Issue
Block a user