Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Billboard gui not "anchored"?

Hi, i have a custom health gui along side level and name over an enemy, which is gonna be used in my rpg.

But when my "creature" walks, the gui is like wobbling behind him.

I have seen in the newest RPG, that his GUI is staying above the head, whether it jumps or move.

3 comments

0

Where is the billboard gui parented/adornee'd? To the HumanoidRootPart? Torso?

0

It is parented to the model basically. Should i do the head?

0

I would suggest parenting it to the HumanoidRootPart. Unlike the head, the HumanoidRootPart cannot be animated.

1 answer

✓ Accepted answer

Parent/Set the Adornee of the BillboardGui to the Model's HumanoidRootPart. If the BillboardGui is parented to a Model, it is centered at the bounding box of the model. Since the bounding box of the model changes as it animates, the BillboardGui moves along with it.

Though you could have used other body parts, like Torso or Head, the HumanoidRootPart does not animated at all.

This discussion is preserved as it was. New answers, comments, and votes are closed.