Ok so I’m trying to upgrade my current GUI, at this time I have multiple objects that move at the same speed values than the player object, which is really cheap and causes problems with colisions.
I came up with an idea to solve it and make a better GUI overall but I’m not sure if I can actually do it.
Ok so basicly to resolve this problem I would do the following:
Create an object that’s actually a transparent square, then snap this at the center of the player object ( by snap I mean attach so it moves with it, in a way it’s always “anchored” to the player’s object centre) then I would add the different text objects from the gui and snap/anchor them to this transparent square.
The thing is I don’t know how to “attach” objects to other object’s points, is there a way to do this? If not, what’s the best way to do a GUI that follows the player around NO MATTER WHAT, even if you collide and add force to the player’s object when colliding so it can’t go through another object’s sprite.