I’m trying to create an ArchVis feature where you have a floorplan in the UI and an icon of the player. As the pawn moves around, the icon will move around the UI as well.
I’m just really struggling to wrap my head around a way to communicate or calculate world position of the pawn to the relative position of an icon image on top of my floorplan image.
I thought about render targets and placing a floorplan on top of the building but it seems like a bad way to go about it, and adjusting a camera above orthographically is difficult with the near plane and no viewport preview like you get with a normal camera.
If anyone knows a simple way to translate the world position of my floorplan to a UI version of the floorplan that would really help, e.g. how would I even begin to try and calculate the relative scales?
this is a close approximation of what I’m after:
Any follow up questions please let me know!