I’m trying to make a simple minimap that changes postion of a marker on a texture map when I press a key. I’d like to bind the movement to one of four keys - up, down, left and right and I need it to go off of one side of the map and wrap around. See below.
I don’t want to do a realtime top down render of the scene and my character isn’t actually moving physically around the scene. I had started to use Blueprint to shift my marker using the uv’s of the texture map of the marker on key press but I couldn’t get it to add the position of the U + V together.
Any ideas on how I sould take this would be appreciated.
Re asking as I seem to have added a big map on top of my question.
Hi folks,
I’m trying to make a simple minimap that changes postion of a marker on a texture map when I press a key. I’d like to bind the movement to one of four keys - up, down, left and right and I need it to go off of one side of the map and wrap around. See below.
I don’t want to do a realtime top down render of the scene and my character isn’t actually moving physically around the scene. I had started to use Blueprint to shift my marker using the uv’s of the texture map of the marker on key press but I couldn’t get it to add the position of the U + V together.
Any ideas on how I should take this would be appreciated.
This is a different approach that purely looks at UMG and the active camera transform.
Setup your scene and define the top-left and bottom-right extents of your map (as per your texture). You will input these coordinates in variables later.