Can anyone teach me how to do a player health bar in panda 3d
? The function is to display the player’s HP in the game, and changes as it loses/gains HP.
Much appreciated.
Can anyone teach me how to do a player health bar in panda 3d
? The function is to display the player’s HP in the game, and changes as it loses/gains HP.
Much appreciated.
create node path
parent node path to the object
add billboard modifier
create text node
attach text node and set some height
create a task to update the text
if u want “bar” not just text create a card with the cardmaker and assign it texture. put it same place as text.
Uhm, it might be an idea to use the DirectWaitBar, as described in the manual.