Compass target arrow isnt functioning

Could you please have a look at one simple question.
I am also doing minimap and with script it should show You-are-here point with current position
the only problem is - the red point is always shown outside of the minimap region, although it is moving correctly.
but it should be on the location of a minimap
what should i add to the simple code?
screenshot attached

Could you please have a look at one simple question.
I am also doing minimap and with script it should show You-are-here point with current position
the only problem is - the red point is always shown outside of the minimap region, although it is moving correctly.
but it should be on the location of a minimap
what should i add to the simple code?
screenshot attached

Hey edderkop as i promised i mentioned you in my acknowledgement section of the thesis here. thanks man! https://drive.google.com/open?id=1ehDAAdBpWApNsSO-4U3joegglQrTq4uT

Is that red dot parented to something that could be moving it?

If not, then you have two ways you can solve this:

  1. Move the minimap picture to behind the red dot, then move the overlay camera to the left
  2. Or, add a fixed amount to the co-ordinates
position = logic.globalDict["Pos"]/100
position[0] += 100 # Change this to however much is necessary to get the dot to line up
position[1] += 10 # Change this to however much is necessary to get the dot to line up
own.worldPosition.xy = position
1 Like

this got solved months ago :smile:

2 Likes