Download

Hud box position problem

Hi,

i have a problem with the location of a hud box when i select it.

in my inventory there is no problem, but for my action barre don’t have the good position.
The action barre was well created and store in an array HitActorBarPosition who is vector2D.

when my mouse is on the box, the selection works but at the wrong place, their is an Y position problem but i don’t find any solution.

If someone can help me.

c45b690c7822a0cb31e89257b0b9d6d0f94fd6c1.jpeg action barre creation
e2a98034c5755c3df55e8161c372726bd7e10774.jpeg action barre texture + storage position
Gen-Action-Box-3.jpg draw select box