godot_recipes icon indicating copy to clipboard operation
godot_recipes copied to clipboard

[Discussion] 3D Unit healthbars

Open cbscribe opened this issue 4 years ago • 4 comments
trafficstars

Discussion for http://godotrecipes.com/3d/healthbars/

cbscribe avatar Feb 03 '21 02:02 cbscribe

The ZIP is not working as described. To make it work, change HealthBar3D as follows:

  • set Texture to 'New ViewportTexture' and select the existing Viewport
  • delete the Material in Geometry
  • enable the Billboard flag

dirkk0 avatar Mar 11 '21 14:03 dirkk0

Yes, this is due to a change in the recent version of Godot (addition of the Billboard flag).

The text has been changed, but the zip needs to be updated.

cbscribe avatar Mar 18 '21 01:03 cbscribe

I can send you my version, if that helps.

dirkk0 avatar Mar 18 '21 05:03 dirkk0

I like the video and demonstration however after following along, I found that the viewport does not update the sprite3D very well. Its leaving me with this gray box over my head. The viewport seems to not be setting the texture correctly? idk if thats a godot thing or a me thing

Raywilleatchu avatar Jun 30 '22 18:06 Raywilleatchu