From 95059f682973929780ac27a424b70666bde391aa Mon Sep 17 00:00:00 2001 From: onTheZero <114521696+onTheZero@users.noreply.github.com> Date: Fri, 15 Aug 2025 22:22:04 -0400 Subject: [PATCH] Update PlayerInputComponent.cpp --- PlayerInputComponent.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlayerInputComponent.cpp b/PlayerInputComponent.cpp index 79f1d41..06ff22a 100644 --- a/PlayerInputComponent.cpp +++ b/PlayerInputComponent.cpp @@ -24,22 +24,22 @@ void PlayerInputComponent::ProcessKeyboard(float DeltaTime) bFreeMouse = true; } - if (glfwGetKey(Window, GLFW_KEY_E) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_W) == GLFW_PRESS) { PlayerCharacter.Move(FORWARD, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_D) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_S) == GLFW_PRESS) { PlayerCharacter.Move(BACKWARD, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_S) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_A) == GLFW_PRESS) { PlayerCharacter.Move(LEFT, DeltaTime); } - if (glfwGetKey(Window, GLFW_KEY_F) == GLFW_PRESS) + if (glfwGetKey(Window, GLFW_KEY_D) == GLFW_PRESS) { PlayerCharacter.Move(RIGHT, DeltaTime); }