Hey I'm working on a Unity 2D project and using a Rigidbody2D for my character. I've set up a jump mechanic where I calculate the jump velocity and apply it to the Rigidbody using the MovePosition method. However, I've encountered an issue. When I jump and simultaneously move against a wall (which has another collider), the character loses its upwards velocity, causing the jump to not reach its intended height. I'm looking for suggestions on how to prevent this loss of upwards velocity when the player jumps and moves against a wall simultaneously. My goal is to allow the player to continue moving in that direction without sacrificing the effectiveness of the jump height. Any insights on how to address this issue would be greatly appreciated. Thanks!