 Noobski Guest |
Quote
|
| 2024-02-10 21:37:59 |
|
I have a cube mesh that I scaled down and made a child node of my player. I added a texture to it and now it’s a transparent health bar over my players head. Problem is I can’t get any script I draw up to work how I want it to or work at all. The player nodes name is “player” so I know his health car should be player.health. Can someone draw up a script or scripted action or behavior, that would attach to the cube mesh acting as my Hpbar to track the players health and to shorten width and inscrease it as the players hp goes up and down? If you could or even give me detailed information on how it would greatly help me.
|