Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Elis |
Hi,
I’ve been trying Godot for a little week, and I’m still quite struggling with the Area/Collision mechanic. For example, if I want to create a post-it board, with these characteristics:
- The player can pick a post-it and replace it with his mouse
- If a post-it is overlapping another one, it will replace itself on a nearby position
What do I need to do?
Does my post_it.tscn that I will instantiate need to be a staticbody2D, a kinematicbody2D (both with area2D and collision2D…etc), or will this be enough?
- Area2D
-- CollisonShape2D
--- Sprite_of_Post_it
I’m not really asking for the scripts of these objects (though if you have some tips or shortcuts regarding these, I’m interested), but more for what structure I should use at first, as I don’t want to go in the wrong direction.