StaticBody3d and RigidBody3d are not colliding

Godot Version

4.2.1 windows

Question

Hello all,

I have a very confusing and simple scene where I have one StaticBody3D and a new RigidBody3D cube. When I run the main scene, I expect the RigidBody to be stopped by the StaticBody, but that is not happening.


the main scene

configuration of the box

why are they don’t collide ?

I believe your issue is that Godot by default disables the continuous_cd parameter for efficiency reasons. This parameter enables in short continuously detects collisions.
I have attached a link for further explanation from the Godot docs.

1 Like

I was making a 3D game where you throw eggs and was confused why they sometimes bounce off of walls and sometimes go through them. I read the documentation you linked and turned on continous cd and contact monitoring. Now they hit the walls as they should. Just mentioning in case someone else has issues with small projectiles. Thank you! :smiley: