Spawning an actor from a minimap

I currently have a vehicle set up with a ortho view scenecapturecomponent2d on a spring arm, driving around a large map. I have created a minimap widget and set that up to toggle on and off. I want to be able to click a point on that map, and spawn some actor, like a cube, at the world coordinates that the click on that map corresponds too. I have tried to implement a few transforms, but they seem to come up short. Currently i am trying to use the camera view to grab topleft and bottom right points to orient, but that doesnt seem to be working, atleast not in the ways ive tried.

1 Like

It should be something like that, mine is for a world map but should be similar workout, this might depend of how you did your panning of your mini map thou.

This will return the world location to spawn your cube.