godotengine / godotengine/godot

While jumping into corner, velocity.y is not set back to 0

Open
#89,998 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.