Skip to content

Godot Physics performance drop on ConvexPolygonShape RigidBody contact #57313

Open
@fathonyfath

Description

@fathonyfath

Godot version

v3.4.2.stable.official [45eaa2d]

System information

Windows 11, GLES3, RTX3060TI [511.23]

Issue description

At the moment the rigidbodies contact, suddenly the performance going bad with the physics process takes 200ms.
It also looks like the rigidbodies stick to one another.
This doesn't happen when I'm using Bullet physics.

Steps to reproduce

Project default settings is using Godot physics.

  1. Run the project
  2. Press space to start spawning rigidbodies
  3. On my machine, as the third rigidbody made a contact with already falling rigidbody, physics process getting slower

Meanwhile switching to Bullet physics on the project settings, it can handle the physics process more stable.

Minimal reproduction project

physics-benchmark.zip

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