Can anyone tell me how the Convert World Location To Screen Location node works?
No matter what numbers I put into the “World Location” pin, the value also get (0,0) from the “Screen Location” pin. Or any other better methods that can get the Screen Coordinate of actor. Can someone help me or give me a hint?
What’s the value you’re passing in? I have used that before and I think I had to normalize the vector but I’m not 100% sure and I’m not in front of my computer at the moment.
Where did you put that node? I can only place it in the player controller and it defaults to self - this is where it works and I checked in 4.10.1. I cannot place it in level blueprint or custom actor blueprint.
I have provided an example below to help explain the way ConvertWorldLocationToScreenLocation works. I hope that this information helps.
Example:
In the example below I have used the first person template and I have opened the level blueprint. Next, I dragged a reference to one of the cubes into my level blueprint and got it’s location. Finally I used tick to print out what the screen location would be on tick.