1
This commit is contained in:
@@ -52,7 +52,7 @@ namespace BITFALL.Player.Animation
|
||||
{
|
||||
animator.animator.SetFloat(Vertical, _movement.LocomotionBasedVelocity.z);
|
||||
animator.animator.SetFloat(Horizontal, _movement.LocomotionBasedVelocity.x);
|
||||
animator.animator.SetFloat(SqrMagnitude, _movement.LocomotionBasedVelocity.sqrMagnitude);
|
||||
animator.animator.SetFloat(SqrMagnitude, _movement.Velocity.GetLength() / _movement.ReferenceSpeed);
|
||||
|
||||
animator.animator.SetFloat(Pitch,-MathV.TransientRotationAxis(_movement.ViewRotation.eulerAngles.x));
|
||||
|
||||
|
Reference in New Issue
Block a user