godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.56k stars 20.28k forks source link

Cylinder gets stuck on seams of static body while sliding against it. #72198

Closed prominentdetail closed 5 months ago

prominentdetail commented 1 year ago

Godot version

v4.0.beta.custom_build [705273140]

System information

windows 10

Issue description

Sliding a cylinder shape against a static body will cause it to get stuck against the seams in the mesh. stuck

Steps to reproduce

run project and move cylinder against the static body

Minimal reproduction project

moveSlideStuck_beta16.zip

hunterloftis commented 1 year ago

I'm seeing similar behavior with capsules against the edges of a boxshaped rigidbody3d.

hunterloftis commented 1 year ago

Here's an example (sorry, this is intermittent for me so I captured it when I noticed the scene geometry triggering the issue, so there's not even visible collision shapes).

https://user-images.githubusercontent.com/364501/228639708-e00d27ab-eb44-4c5f-a963-5c15355c09b5.mp4

If the original minimal repro isn't sufficient, I'll try to repro this with a capsule & box.