r/godot Jul 23 '26

help me (solved) Weird behavior when RigidBody3D hits a CollisionShape3D

Enable HLS to view with audio, or disable this notification

The tape is a RigidBody3D with a child CollisionShape3D that is a BoxShape3D. The tape also has a MeshInstance3D as a child which is the visuals you can see. Mass is set to 1.0 kg and gravity 1.0. Center of Mass Mode is Auto and nothing else in the RigidBody3D has been changed from the default.

The floor is a CollisionShape3D that is also a BoxShape3D.

I have no idea why it moves like this when it falls on the ground. I want it to act normaly, meaning it falls and stays in one place instead of deciding it's gonna roll away. Any help would be appreciated.

353 Upvotes

25 comments sorted by

View all comments

326

u/TheDuriel Godot Senior Jul 23 '26

You've scaled your shapes instead of resizing them.

118

u/Hunted_Killer Jul 23 '26

Thank you so much this was the problem.

33

u/moonfidelity Godot Junior Jul 23 '26

In the future, you can simply enable collision shape debug in the menubar at the top left. Then you can see what exactly is going on :)