x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I make my 'Huds' Mini Map rotate?

Okay, so I have got my Hud up and running and a mini map up but how do I tweak the mini map to rotate, when the player rotates like a campus? I do know the basics on making a Hud with a Widget but how would I made the mini map on the Hud rotate when the player rotates?

alt text

And I would like a pointer in the middle of the mini map to face the same way as the player faces.

Does anyone know how to perform this?

Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Jan 28 '16 at 12:33 AM in Using UE4

avatar image

sayer6913
19 20 17 26

avatar image sayer6913 Jan 28 '16 at 11:53 AM

Does anyone know?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

There is a tutorial on how to build a working radar in UE4.

more ▼

answered Jan 28 '16 at 02:28 PM

avatar image

Mootjuh
371 16 16 22

avatar image sayer6913 Jan 29 '16 at 05:03 AM

Thanks that's pretty helpful! But how would I make my Mini Maps compus rotate when the player looks left to right? Thanks for your time by the way!

avatar image Mootjuh Jan 29 '16 at 07:31 AM

Try casting to your player character BP and get the actor rotation's yaw. Make sure your minimap widget's pivot is centered and add a "make rotation" node to your widget with target being your minimap image and rotation being the player character's yaw. If the effect is reversed try either subtracting or adding 90 to the yaw which should fix it.

avatar image sayer6913 Feb 02 '16 at 06:15 AM

Hi, could you describe with a photo of what you mean? Sorry but when I search for a 'make rotation' node nothing comes up. Thanks for your time!

avatar image sayer6913 Feb 02 '16 at 06:26 AM

This is what I've got so far alt text

untitled.png (128.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question