From d18ffdaf1ed47c42bb95038a3c016d6ad9177522 Mon Sep 17 00:00:00 2001 From: Mingu Kim Date: Mon, 7 Jul 2025 21:59:30 +0900 Subject: [PATCH] =?UTF-8?q?1.=20=EC=BA=90=EB=A6=AD=ED=84=B0=20=EC=A1=B0?= =?UTF-8?q?=EC=9E=91=EC=9D=84=20=EB=A9=88=EC=B7=84=EC=9D=84=EB=95=8C=20?= =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=EA=B0=80=20=EB=B9=99=ED=8C=90?= =?UTF-8?q?=EA=B8=B8=EC=97=90=20=EC=9E=88=EB=8A=94=20=EA=B2=83=20=EC=B2=98?= =?UTF-8?q?=EB=9F=BC=20=EB=B0=80=EB=A6=AC=EB=8A=94=20=ED=98=84=EC=83=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=202.=20=EC=BA=90=EB=A6=AD=ED=84=B0=20?= =?UTF-8?q?=EC=A2=8C=EC=9A=B0=ED=82=A4=20=EB=8F=99=EC=8B=9C=20=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=20=EC=8B=9C=20=EB=B0=94=EB=9D=BC=EB=B3=B4=EB=8A=94=20?= =?UTF-8?q?=EB=B0=A9=ED=96=A5=EC=9D=B4=20=EB=B3=80=EA=B2=BD=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=ED=98=84=EC=83=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Player/PlayerMove.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Player/PlayerMove.cs b/Assets/Scripts/Player/PlayerMove.cs index c87e5421..f3eab94d 100644 --- a/Assets/Scripts/Player/PlayerMove.cs +++ b/Assets/Scripts/Player/PlayerMove.cs @@ -30,11 +30,11 @@ public class PlayerMove : MonoBehaviour // 키 입력 땔때 캐릭터 멈춤 if (Input.GetButtonUp("Horizontal")) { - rigidBody.linearVelocity = new Vector2(rigidBody.linearVelocity.normalized.x * 0.5f, rigidBody.linearVelocity.y); + rigidBody.linearVelocity = new Vector2(rigidBody.linearVelocity.normalized.x * 0.0000001f, rigidBody.linearVelocity.y); } - // 캐릭터(Sprite) 방향 - if (Input.GetButtonDown("Horizontal")) + // 캐릭터(Sprite)이동 방향 바라보도록 스프라이트 플립 + if (Input.GetButton("Horizontal")) { spriteRenderer.flipX = Input.GetAxisRaw("Horizontal") >= 1; }