Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: misterjuly on June 13, 2021, 07:40:26 AM
-
Hello,
I have an enemy with health, and I have a health ui, but for some reason, I can't get it to show up above the enemy's head. I tried using both world space and screen space overlay, but it didn't seem to work. I want the health ui to move as the enemy moves, which is the tricky part. It is also a child of the enemy. Not sure what I'm doing wrong. Thanks in advance for your help!
John Bassi
-
Need some more info on the setup w/ screenshots if possible.
-
What info would you like? Playmaker FSMs or something on the unity editor and if so what? Thanks!
-
Do you use an asset for that, if not some screenshot of the states of the FSMs in charge of the function.
-
Hi.
If you use world space you can set the canvas as a child to Enemy.
Other way is to use screen to world point
-
I tried setting it as a child to the enemy. How do I use screen to world point? Thanks!