godotengine / godotengine/godot
While jumping into corner, velocity.y is not set back to 0
Open
needs testing
topic:2d
topic:physics
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducible in 4.2.1.stable
### System information
Godot v4.2.1.stable - macOS 12.6.1 - Vulkan (Forward+) - integrated Intel Iris Pro Graphics - Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 Threads)
### Issue description
When shoved into a corner, the Y velocity is not reset to 0.
### Steps to reproduce
Run the project, and hold up and right or left at the same time.
### Minimal reproduction project (MRP)
[Vertical Velocity Corner Bug MRP.zip](https://github.com/godotengine/godot/files/14796287/Vertical.Velocity.Corner.Bug.MRP.zip)
Contributor guide
Assessment
This issue has not been assessed yet.