I’m trying to make a viewport health bar for the player, but the issue is, I don’t want to have to go through the trouble of changing the position multiple times due to the fact that when an axis like the x axis gets changed with Vector3, both sides negative and positive on the axis change and get closer or farther to each other. But I only want one to get closer and farther.
How would I do this?
If I am interpretting your question correctly, I believe that adding half the size change to the position will resolve your issue
I mean something like this, as you can see in the image below, only one part (negative or positive) increases in length, and the other part on the axis (that is positive or negative) doesn’t increase. The thing that I don’t want under the big X shows how both negative and positive sides of an axis increase, which I don’t want.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.