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

@@ -20,7 +20,7 @@ namespace OnlyScove.Scripts
if (input != Vector2.zero)
{
dodgeDirection = new Vector3(input.x, 0, input.y).normalized;
dodgeDirection = stateMachine.NetworkedCameraRotation * dodgeDirection;
dodgeDirection = stateMachine.CameraRotation * dodgeDirection;
}
else
{