We forgot time.deltatime...

This commit is contained in:
BOTAlex 2024-03-27 20:18:28 +01:00
parent a86576068f
commit 5a0f47145f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class PlayerMovement : MonoBehaviour
private void PlayerInput_OnNewMoveData(MoveData moveData)
{
rb.AddForce(moveData.Movement * moveSpeed);
rb.AddForce(moveData.Movement * moveSpeed * Time.deltaTime);
}
void OnCollisionStay2D(Collision2D collision)