0 votes


I'm learning the Godot engine and starting to play in 3D.

Why is the collision shape not aligned on my cube?

The cube was created in Blender with the origin at the bottom middle of it, as you might do when creating assets.

When I add a Collision Sibling, the Collision Shape fits the cube (in a faint blue line) but also adds a bit at the bottom (shown in an orange box)

Screen grab of Box.tscn (left) and World.tscn (right) with instances of Box.tscn.

Screen Shots

Godot version 3.4.2
in Engine by (23 points)

Did You apply all transforms in blender ?

Yes, mesh transforms applied in Blender.

Top screen shot is the imported model in Godot, origin bottom centre and no Collision Shape.

Bottom screen shot is the imported model in Godot (origin bottom centre) with Collision Shape (Collision Shape moved along the X axis). The Collision Shape fits the cube but has an orange area around the origin which offsets the mesh?

Imported box in Godot
Imported box in Godot with Collision Shape

This doesn't happen when you create a Mesh Instance because the Mesh Instance origin is in the middle of the geometry.

Box Mesh Instance

1 Answer

0 votes
Best answer

When I first ran the game it looked liked the offset added to the bottom of the Collision Shape (in the viewport) effected how the cubes are in contact with each other, but on closer look this isn't a problem -

Box contact

by (23 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.