From f0fa3a056ce784213aee5e23c6047dd6b8e6d88e Mon Sep 17 00:00:00 2001 From: LeeJaeHyun Date: Wed, 11 Sep 2024 14:19:48 +0900 Subject: [PATCH] . --- Assets/02_Scripts/PlayerController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/02_Scripts/PlayerController.cs b/Assets/02_Scripts/PlayerController.cs index 621f17d..ce79ef4 100644 --- a/Assets/02_Scripts/PlayerController.cs +++ b/Assets/02_Scripts/PlayerController.cs @@ -19,7 +19,8 @@ public class PlayerController : MonoBehaviour // 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); } }