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

4.0: using CharacterBody3D with collisions from "Single convex collision sibling" of a capsule mesh causes horrible performance #66354

Closed
atirut-w opened this issue Sep 24, 2022 · 1 comment

Comments

@atirut-w
Copy link
Contributor

Godot version

v4.0.beta1.official [20d6672]

System information

Arch Linux

Issue description

Using Simplified or Multiple works fine, but Single is just straight chaos. It takes seconds for the splash screen to disappear and even then the performance is in the seconds-per-frame range.

Steps to reproduce

  1. Set up a scene with a simple floor with trimesh static body
  2. Create a CharacterBody3D and put the template script on it for the sake of simplicity
  3. Put a capsule mesh on the character and create single convex collision sibling
  4. Start the scene

Minimal reproduction project

CharacterBody3D Problem.zip

@Calinou
Copy link
Member

Calinou commented Sep 24, 2022

Duplicate of #48587 (same cause). Use primitive collision shapes like CollisionShape3D + CapsuleShape instead.

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