![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Dahrmedeth |
Hi, maybe it’s a silly question but I was wondering what’s the preferred way between these two cases :
For example for a Node2D with a Sprite and an Area2D
- Node2D
- Area2D
- CollisionShape2D
- Sprite
vs
- Area2D
- CollisionShape2D
- Sprite
I’m tempted to do the 2nd way, because Area2D is a Node2D and it seems logical that less nodes is better in term of performance.
But the editor seems to encourage the use of Node2D, Node3D or Node as root (they are the firsts proposed when creating a new scene and you have to click “Other nodes” to be able to select an other type of node).
Thanks in advance =)