Godot Version
Godot 4.7
Question
I have a StaticBody3Das root node of a scene, with two children, one MeshInstance3D and one CollisionShape3D. When I try to set the shape of the CollisionShape3Dnode to Concave or ConvexPolygonShape3DI got the following error. It prevents me to add the desired 3D Collision Shape to this scene.
Set shape
ERROR: servers/rendering/rendering_server.cpp:1212 - Condition "array_len == 0" is true. Returning: ERR_INVALID_DATA
ERROR: scene/resources/mesh.cpp:1827 - Condition "err != OK" is true.
please note that I’m fairly new to Godot. Thanks in advance for your help.
Why do you need the concave collision shape?
I have the following mesh and I’d like for my other physical nodes to interact with it.
Again, I’m very new here, maybe there is a better way to do this.
Do you need it in a map and to be not pass through? Right?
Yep I’d like to use those blocks in order to create a map, and have “cars” being able to drive on top of them without going through them.
Ok, so just click your mesh and click the button that says “mesh”
And then click the first option. After change the first selection to child.
(No need of the old concave collision shape)
As simple as this. I feel a bit stupid now, but I learned something today thanks to you (it’s a good day). Thanks for your help!
No problem! Its normal. Ask anything and we will help!