Floor Plan MiniMap

Has anyone been able to create a minimap using an image of a floor plan? I have been able to follow tutorials online to create a minimap, but they all seem to use a camera in the scene as the minimap. I want to be able to translate my character’s position in the world onto an image of my floor plan that follows the character as they walk around. I can’t seem to find any good recent documentation on how to do this.

I did it with a HUD class. Logic was to convert the world scale into the image size you are using and draw it on HUD.

Do you happen to have any screenshots of that logic? That makes sense to me, I just don’t know how to implement it.

I am attaching the HUD uasset. You can refer it. I hope you can understand it. FP Size means Floor Plan size basically your mini-map. PlayWidthX and PlayWidthY are world size of playable X and Y area.

In my case mini-map will always be square. Also, usually it is 25% of the screen. You can change these to match your requirements.

Event Receive Draw HUD is where mini-map drawing logic is present. First Draw Texture node draws the mini-map and Second Draw Texture is for player location.
Event Tick gets the character location and converts to mini-map X and Y co-ordinates.

Since, I only needed to show the characters current location as a blinking object, I didn’t include implementation for character orientation. However, you can do that by getting the character rotation and feeding it to Rotation pin of second Draw Texture node.

Awesome. Thanks for sending that. I do have one error in the blueprint. What is the “bad cast node” supposed to be at the beginplay?

I am using a custom character class hence that node. If you are not using any custom Character class you can remove that node or if you are using any just delete it and cast Get Player Character return value to your Character class.

I am looking to do a floorplan minimap as well but can’t seem to find any good tutorial on it, any ideas on where to go?