Hello there, I’m trying to make a minimap - RTS like ( click on to move on the map ). But I’m having trouble with canvas size / resolution / screen size.
Basically it looks simply : I just need the cursor position on the minimap ( cursor position on screen - map position should give it to me ) and then transpose it in the real map ( (result / minimap size)*map size ) and here is my position.
But it doens’t works. I try to transpose minimap pos in screen size / canvas size with ( canvas size / viewport size ) but my values are still incorrect ( even just the cursor position on the minimap that should be so easy to ind …). Here is my BP.
and an in game screen with a log if needed :
Any help appreciated ! thank’s in advance.