1
This commit is contained in:
@@ -369,7 +369,13 @@ namespace BITFALL.Guns
|
||||
animator.animator.SetBool((int)BITHash.Player.Cancel,
|
||||
recoilSpring.value.GetLength()>0.1f);
|
||||
animator.animator.SetFloat((int)BITHash.Player.Aim,_equipService.Zoom.Value);
|
||||
animator.animator.SetFloat(BITConstant.Player.SqrMagnitude,_movement.LocomotionBasedVelocity.sqrMagnitude);
|
||||
animator.animator.SetFloat(BITConstant.Player.SqrMagnitude,
|
||||
math.clamp(
|
||||
_movement.LocomotionBasedVelocity.sqrMagnitude
|
||||
,0,1
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
recoilSpring.Update(deltaTime,default);
|
||||
|
||||
|
Reference in New Issue
Block a user