The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

+1 vote

Hello, I am trying to create an editor tool (Godot 4) for 3d to automatically create an array of spawn positions for the player. I want this tool to have a visible in the editor as a box shape. I tried to use a collision shape with a box shape, since it can be seen in the editor and update its shape, but I want to get rid of its configuration warning. I tried overriding _get_configuration_warnings in the base class (derived from CollisionShape3D) but the parent configuration warning is still displayed. How can I get rid of it ?

Godot version 4.0-beta14
in Engine by (16 points)

2 Answers

+1 vote
Best answer

You seem to be out of luck, Node get's it's configuration warnings from the script (or an empty string) and built in nodes append to this.

by (1,957 points)
selected by
0 votes

Have you considered using a CSGBox3d? It's a parametrically defined cuboid 3d shape visible (and editable) in the editor, and then you can make it transparent as needed, or flat out invisible in the actual running game/program if needed (or simply free it once its served its purpose). There's various other CSG classes as well, which I think can be combined together to make more complex shapes using boolean operations, but I've never used that function of them so I don't know how useful that would be here - that said, you can read more on them here:

by (17 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.