# How to create a STATIC UMG mini map showing player transforms

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772>\
**Category:** UI\
**Tags:** minimap, unreal-engine, UE4, Blueprint, question, UMG\
**Created:** [August 10, 2016, 10:55pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772 "2016-08-10T22:55:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haskellf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haskellf](https://forums.unrealengine.com/u/Haskellf)\
**Post date:** [August 10, 2016, 10:55pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/1 "2016-08-10T22:55:02Z")

</div>

I have successfully created a UMG minimap that rotates and tracks with the player as per the epic wiki  
[A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/UMG_Mini-Map) . Great work Rudy Triplett and Will Rivendell for writing this up.

However, what if I do NOT want the minimap to follow or rotate with the player. Instead, I want the reverse. The mini map being static but tracks the players translation and rotation on the mini map? I have seen this successfully done in video games and would like to learn how to do this myself using blueprints.

Using the UMG Mini Map Wiki as a base, what changes would you make to the blueprints to make this a success! Any suggestions?

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/2/d329e4631c301048973e0759341c1f552077260d.png)

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![Haskellf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haskellf](https://forums.unrealengine.com/u/Haskellf)\
**Post date:** [August 12, 2016, 1:14am UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/2 "2016-08-12T01:14:07Z")

</div>

I’m sure I’m not the only one out there trying to figure this out. Anyone know of any links or tutorials that allow you to create a static mini map using blueprints AND shows the player location and rotation/look at direction?

---

<div class="post-metadata">

**Author:** ![Haskellf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haskellf](https://forums.unrealengine.com/u/Haskellf)\
**Post date:** [August 14, 2016, 3:53pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/3 "2016-08-14T15:53:32Z")

</div>

Anyone, anyone, Bueller?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c65c439d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c65c439d](https://forums.unrealengine.com/u/anonymous_user_c65c439d)\
**Post date:** [September 23, 2016, 12:34pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/4 "2016-09-23T12:34:02Z")

</div>

did you manage to find a way of doing this? im trying to do the same (AOE style strategy game)

---

<div class="post-metadata">

**Author:** ![Haskellf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haskellf](https://forums.unrealengine.com/u/Haskellf)\
**Post date:** [November 14, 2016, 7:49pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/5 "2016-11-14T19:49:58Z")

</div>

Not as yet. I am asking a few others on how to do this. There is a marketplace BP that someone wrote that does this but it also integrates a bunch of other capabilities. Once I find the answer to this question, I will post an update.

---

<div class="post-metadata">

**Author:** ![Haskellf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haskellf](https://forums.unrealengine.com/u/Haskellf)\
**Post date:** [November 16, 2016, 2:58am UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/6 "2016-11-16T02:58:03Z")

</div>

I was able to get the static mini map effect by following this tutorial video. In our situation, just position and orient the camera top down.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/4/dd4c14ee5133a3b57d8b8770e1627ae261e3ffc9.jpeg "Beginner Tutorial - How to make a minimap in Unreal Engine 4") ](https://www.youtube.com/watch?v=adYVI5XYmoI)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffe97625](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffe97625](https://forums.unrealengine.com/u/anonymous_user_ffe97625)\
**Post date:** [December 18, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/7 "2016-12-18T16:37:34Z")

</div>

I have a similar issue. I’ve been able to get a minimap to track players using a SceneCapture2D and an overridden OnPaint function with some fiddling, but i don’t think that’s the correct way to do rotation. If you figure out how to make markers rotate please let me know.

Basically what i have is a camera with an orthographic scene capture at 0.0.1000 that feeds a picture to my map widget. Then i get transforms for all of my players and send them from the server to all the clients. Those transforms then go into the OnPaint function of my map widget where they are converted into 2dVectors for the locations of the players on the minimap. Calculate mark location is a simple mathematic proportion, where 500 is my widget side size and 12000 is the ortho width of the SceneCapture2D. ±250 just make so that markers’ coordinates start in the center of the minimap and not in the top left corner.

 ![119187-part1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/1/211b739a3f6112d858d94ca7efdda9b9983b97d4.jpeg)

![119188-part2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/4/4b48fe8a9031c4ae4d77bc04c11c851e7953ff4c.jpeg)

 ![119191-part3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/c/d0cff23de7476274fda2d29cf29e37863272f947.jpeg)

 ![119190-part4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/3/743a87f8a265a1153e51b8327740c609aac38444.jpeg)

For a single-player game there would be a lot less fiddling i imagine but this is what i have for now.

---

<div class="post-metadata">

**Author:** ![ruigol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruigol/32/964789_2.png) [@ruigol](https://forums.unrealengine.com/u/ruigol)\
**Post date:** [May 23, 2024, 3:20pm UTC](https://forums.unrealengine.com/t/how-to-create-a-static-umg-mini-map-showing-player-transforms/366772/8 "2024-05-23T15:20:11Z")

</div>

Love that you got it to work, and I LOVED the plswork node haha - could you just explain a little about your maths though? is it a universal equation or does it need fiddled with depending on various factors e.g. mini map size/resolution… also there was a -5 in there I didn’t get at all
