3D collisions causes framerate to drop under 1 fps

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Clint Fleetwood
:warning: Old Version Published before Godot 3 was released.

I’ve included a simple 3D project where one kinematic body collides with a static body using:

move()

on every frame.
but when it collides the frame rate drops to less than 1fps. Before that the framerate is over 7000 so I know it’s not my machine. Can anybody please look at this and help me out?

https://github.com/cefleet/godot-need-help/tree/master/3dCollision

Are there errors in the console? (not the editor, the system one).
Such FPS drop sound like a bug, maybe you could add an issue on Github with your project link.

Zylann | 2016-04-27 00:09

Thank you for responding. No there are not any errors (editor or console).

Clint Fleetwood | 2016-04-27 00:12

Using Godot 4 Alpha 3, facing the same issue. Was it ever fixed?

Altair1234 | 2022-03-09 09:51

If you keep having this problem even when building Godot in release_debug mode (i.e NOT debug mode, which would be very slow), then you may want to open an issue so it is tracked in the list of things to investigate by the contributors.

Zylann | 2022-03-12 20:05

:bust_in_silhouette: Reply From: DriNeo

Using the mesh menu to create collision shapes may lead to various issues.
The predefined shapes are less buggy.

If you need a more fitting shape I suggest to create a mesh especially for this. This mesh must have a reduced amount of polygons. After the shape generation by Godot you can remove this mesh from the scene and you’ll get a cleaner shape.

I wish two weeks ago I knew this. I used a capsule as the shape and everything is good. Thank you.

Clint Fleetwood | 2016-04-27 14:56