I am trying to hide my nickname widget text over a character’s head, when the character is far away from nickname more than 10.
I have done this so far
So my logic is pretty simple
- I find location of a mesh and a text widget
- I return this to a value “Distance Between Object” by subtracting those 2 with each other
- I break the vector by X (because I need use X distance and the rest of 2 dont matter for this example)
- I print the given result in case to debug it
The problem is that it doesn’t work at all, I was trying to use different blueprint nodes to hide the object, but it turns out that the logic doesn’t work and I wonder why