Hello,
I'm trying to setup health bars near the feet of some sprites and I need some help.
This seemed to be working when the healthbar was a simple rectangle, but when I decided to improve the health bar to give it a background (another sprite on the bottom) then I realized that both pinned objects slowly move away or close in to the origin sprite. That means that it does not keep the same distance as the sprite moves around.
I've tried multiple behavious (pin to image point, distance, etc) and they all seem to do the same.
I've set both healthbar and background imageview points to the center (althought they have diferent sizes).
Here are some screenshots to ilustrate:
This is my logic:
Any help would be apreciated!