di chuyen nhu cc

This commit is contained in:
2026-04-15 19:53:29 +07:00
parent 928918c840
commit 666b4a5058
11 changed files with 164 additions and 57 deletions

View File

@@ -25,7 +25,7 @@ namespace OnlyScove.Scripts
if (input != Vector2.zero)
{
dashDirection = new Vector3(input.x, 0f, input.y).normalized;
dashDirection = stateMachine.NetworkedCameraRotation * dashDirection;
dashDirection = stateMachine.CameraRotation * dashDirection;
dashDirection.y = 0;
dashDirection.Normalize();