You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PlayerController seems to 'get stuck' while ducking in water. The PlayerController uses MoveMode-Swim to adjust Swim Level. Or how high the player can stick out of the surface of the water before breaking. If you keep this at 0.7, and go to the top of the water, only the head an some shoulders will stick up as expected.
If you hit the 'duck' button, the player controller seems to get stuck in the crouch mode. Going back to the surface of the water, the PlayerController will stick out to about their waist now, before breaking the surface. Even with the MoveMode-Swim float staying the same.
To Reproduce
Create Scene with PlayerController & a Block that is tagged water.
Notice how PlayerController component MoveMode-Swim is set to 0.7
Break the surface of the water slowly to realize the MoveMode-Swim float works accordingly.
At any time, press duck while in water, the player controller will noticeably change positions and get 'stuck' there.
Break the surface of the water again after pressing duck, you will notice the playercontroller floats way higher above the surface before breaking.
Expected behavior
The PlayerController shouldn't do that weird jerk that happens while crouching in water. Which causes it to get 'stuck' in crouch mode, and stops the MoveMode - Swim component from working properly.
Media/Files
Essentially, if your swimming with the player controller. And you crouch. It seems to get stuck. And it breaks how MoveMode - Swim works. To make it stop, you have to leave the body of water, and re-enter, without hitting crouch. As soon as you hit crouch while swimming, something gets stuck.
Describe the bug
The PlayerController seems to 'get stuck' while ducking in water. The PlayerController uses MoveMode-Swim to adjust Swim Level. Or how high the player can stick out of the surface of the water before breaking. If you keep this at 0.7, and go to the top of the water, only the head an some shoulders will stick up as expected.
If you hit the 'duck' button, the player controller seems to get stuck in the crouch mode. Going back to the surface of the water, the PlayerController will stick out to about their waist now, before breaking the surface. Even with the MoveMode-Swim float staying the same.
To Reproduce
Expected behavior
The PlayerController shouldn't do that weird jerk that happens while crouching in water. Which causes it to get 'stuck' in crouch mode, and stops the MoveMode - Swim component from working properly.
Media/Files
Essentially, if your swimming with the player controller. And you crouch. It seems to get stuck. And it breaks how MoveMode - Swim works. To make it stop, you have to leave the body of water, and re-enter, without hitting crouch. As soon as you hit crouch while swimming, something gets stuck.
https://github.com/user-attachments/assets/11e12280-fc99-4fb4-87ea-babdac9385e9
Additional context
No response
The text was updated successfully, but these errors were encountered: