![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | abelgutierrez99 |
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.
Why can’t you select the static body with your mouse picking?
path9263 | 2021-08-12 04:16
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.”
abelgutierrez99 | 2021-08-17 13:02