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

Odd behaviour with a cylinder collision shape #38426

Closed
BastiaanOlij opened this issue May 3, 2020 · 3 comments
Closed

Odd behaviour with a cylinder collision shape #38426

BastiaanOlij opened this issue May 3, 2020 · 3 comments

Comments

@BastiaanOlij
Copy link
Contributor

Godot version:
Godot 3.2 commit 8426ed2

OS/device including version:
Windows 10

Issue description:
A rigid body with a box collision shape reacts very weird when coming into contact with a static body that uses a cylinder collision shape.

It works fine if that static body has a box collision shape

Steps to reproduce:
Create a static body as a cylinder
Create a rigid body with a box shape
Let the rigid body fall on top of the static body but away from its center

Experiment a little with sizes. I found that creating a rectangular box really shows the issue well.

Minimal reproduction project:
This project shows a cylinder collider and box collider side by side with the same rigid body being dropped on it. On the box it nicely falls, on the cylinder it bounces and rolls for no apparent reason

godot_cylinder_physics_issue.zip

This shows it in even more splendor:
https://youtu.be/zp6NubkIbCY

@pwab
Copy link

pwab commented May 4, 2020

Maybe related to #27212

@BastiaanOlij
Copy link
Contributor Author

Maybe related to #27212
Very likely the same issue... It brings back the age old discussion about the margins in Bullet not being very friendly to VR work where we often work with centimeter sized objects.

@Calinou
Copy link
Member

Calinou commented May 5, 2020

Duplicate of #16505.

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

3 participants