+2 votes

I want to make the texture progress to follow the character and place on top of character.

How can I do that?


PS. I am saying in 3D character and I want a 2D health bar on top of the 3D character

in Engine by (241 points)
edited by

What you may do is attach a Sprite3D to the model's node. Where the 3D model goes, the Sprite3D will follow. When necessary (such as adjusting the health bar), have the Sprite3D disappear or reappear.

Thank you.
Will the Sprite3D always face to the camera?
Or I need to make it face to camera programatically?


Unfortunately, I do not know how to make the Sprite3D only face the camera (or just a Viewport).

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.