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"

3D widgets/rotation

I am trying to give my inventory a 3d feel and i was wondering if there is a way to rotate a widget.I am trying to achieve something similar. alt text

Product Version: UE 4.19
more ▼

asked Jul 20 '18 at 02:45 PM in Using UE4

avatar image

7 2 2 3

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

2 answers: sort voted first

Nebula Games Inc's solution is the way to go. In order to get rid of the clipping, disable depth test on the widget component's material. The right hand side widget component has it disabled in the following example:

Image from Gyazo

The material is called Widget3DPassThrough, you can find it in the Engine Content. Duplicate it, tick Disable Depth Test and assign it.

more ▼

answered Jul 22 '18 at 11:51 AM

avatar image

15.2k 77 25 62

avatar image Rypz Jul 22 '18 at 03:38 PM

Thank you,I had no idea about that,it's right what i was looking for.

avatar image Rypz Jul 22 '18 at 09:54 PM

alt text

I managed to get it like in the example,got rid of motion blur and anti-alias,because it was flickering,but now i am not able to interact with it,i tryed doing this but it doesnt seem to work.

capture.png (65.1 kB)
avatar image Everynone Jul 22 '18 at 09:58 PM

Ensure the widget components have Receive Hardware Input ticked, allowing them to capture mouse behaviour like the traditional widgets do.

And yes, motion blur on the widgets looks atrocious :|

avatar image Rypz Jul 22 '18 at 10:05 PM

That did it,thank you so much.

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

Yes you can rotate a widget in the world like any other actor. You just need to reference it from the actor it is placed on. So you create an actor, add a widget component. Then in the event graph, drag out the widget component and set its rotation.

more ▼

answered Jul 20 '18 at 09:58 PM

avatar image

Nebula Games Inc
5.4k 28 9 15

avatar image Rypz Jul 21 '18 at 11:09 AM

I tryed that,but when i add the widget to the viewport is still not rotated.

avatar image Nebula Games Inc Jul 22 '18 at 12:59 AM

You aren't adding a widget to the viewport. You are adding it as a component on an "empty" actor and placing that actor in the world. You can then rotate the actor and the widget will follow achieving the desired effect.

alt text

alt text

avatar image Rypz Jul 22 '18 at 10:30 AM

I am not trying to place them in the world,I just need them displayed on the screen like that when i press a key.I tryed making the widget a child of the camera,but is not really a solution because it's colliding with the world and clipping through it.

(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