Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RigidBody2D bounces despite bounce being set to 0, sometimes freezes with horizontal movement on a tilemap #41454

Closed
psearpsearpsear opened this issue Aug 22, 2020 · 1 comment

Comments

@psearpsearpsear
Copy link

Godot version:
3.2.2

OS/device including version:
Linux Manjaro 20, GLES3

Issue description:
At a higher velocity, rigid bodies appear to bounce slightly despite bounciness set to 0. In the same project, moving along tilemap tiles horizontally occasionally freezes, despite a console output giving a non-zero horizontal velocity.
In the supplied project, jumping from a higher platform produces a noticeably bounce, sometimes to the side. Sliding from left to right at the bottom will also sporadically freeze.

Steps to reproduce:
Place a rigidbody2d on a tilemap with some tiles. Apply an upwards impulse ("jump"). Allow body to fall.
Use _integrate_forces to set horizontal velocity, and walk over some tiles for an extended distance. The body often freezes.
In the provided project, the linear velocity is printed every _integrate_forces loop, showing that velocity is non-zero despite being frozen in position.
reproduce.zip

Minimal reproduction project:

@Calinou
Copy link
Member

Calinou commented Aug 22, 2020

Duplicate of #28438 and #34215.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants