Update Setting
This commit is contained in:
@@ -28,7 +28,6 @@ namespace OnlyScove.Scripts
|
||||
dashDirection = stateMachine.CameraRotation * dashDirection;
|
||||
dashDirection.y = 0;
|
||||
dashDirection.Normalize();
|
||||
|
||||
// Instantly snap rotation to face the dash direction
|
||||
stateMachine.transform.rotation = Quaternion.LookRotation(dashDirection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user