UI player marker on a moveable map

When a widget is in the centre of that map, it’s at 0,0 coords:

The Point of Interest_3 will represent my player. The image size used is:

image

We need to translate player world coordinates into a canvas coordinate:

  • orange - player world location

mapped onto

  • green - map image size


disclaimer: there’s a chance I mixed up X & Y above. Flip them around if the numbers do not add up. :innocent: