|Topic was automatically imported from the old Question2Answer platform.
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.
apply all transforms in blender ?
Inces | 2022-09-09 13:46
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?
Rory_B | 2022-09-10 00:29
This doesn’t happen when you create a Mesh Instance because the Mesh Instance origin is in the middle of the geometry.
Rory_B | 2022-09-10 00:48