0 votes

I'm trying to create a StaticBody that can be selected with the mouse input, so an Area is needed. But the StaticBody and the Area requiere their own CollisionShape. For example, this object could be a tile that you can walk on its top face and click on it to see information about or destroy it.

Am I missing something? Having two CollisionShape that are exactly equal might be inefficient. Sometimes, it might be useful to have two different CollisionShape, but when they are equal, not.

Godot version 3.3
in Engine by (223 points)

Why can't you select the static body with your mouse picking?

That is not the question. The issue is more like a reflexion "Am I missing something? Having two CollisionShape that are exactly equal might be inefficient. Sometimes, it might be useful to have two different CollisionShape, but when they are equal, not."

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.