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

@@ -37,7 +37,7 @@ namespace OnlyScove.Scripts
}
Vector3 inputDir = new Vector3(input.x, 0, input.y).normalized;
Vector3 moveDirection = stateMachine.NetworkedCameraRotation * inputDir;
Vector3 moveDirection = stateMachine.CameraRotation * inputDir;
moveDirection.y = 0;
moveDirection.Normalize();