This commit is contained in:
LeeJaeHyun 2024-09-11 14:19:48 +09:00
parent acc84c167d
commit f0fa3a056c

View File

@ -19,7 +19,8 @@ public class PlayerController : MonoBehaviour
// Debug.Log("h=" + h + " v=" + v); // Debug.Log("h=" + h + " v=" + v);
Debug.Log($"h={h} / v={v}"); Debug.Log($"h={h} / v={v}");
transform.Translate(Vector3.forward * v * 0.01f); transform.Translate(Vector3.forward * v * 0.05f);
transform.Translate(Vector3.right * h * 0.05f);
} }
} }