Skip to content

Odd behaviour with a cylinder collision shape #38426

@BastiaanOlij

Description

@BastiaanOlij

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions