playMaker

Author Topic: Healthbar hovering over unit  (Read 490 times)

Nietzsche

  • Playmaker Newbie
  • *
  • Posts: 26
    • View Profile
Healthbar hovering over unit
« on: September 06, 2019, 05:53:04 PM »
Hello, I have a question regarding healthbars, while so far I created healthbars with sliders integrated in the UI, I now want to have the healthbars hovering over the units they belong to. It is for a 3D game, and I would be curious, if that is possible by using playmaker.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 634
    • View Profile
Re: Healthbar hovering over unit
« Reply #1 on: September 10, 2019, 05:03:44 AM »
Yes. You're looking at displaying a sprite in billboard fashion so it always faces the camera.

heavygunner

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
Re: Healthbar hovering over unit
« Reply #2 on: September 10, 2019, 09:39:47 AM »

Nietzsche

  • Playmaker Newbie
  • *
  • Posts: 26
    • View Profile
Re: Healthbar hovering over unit
« Reply #3 on: September 15, 2019, 04:14:46 AM »
I tried that out, but unsing a slider instead of the text as a healthbar didn't work.