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"

Widget Component Images Disappear

I have a basic tank game in the making and I have 3d Widget components attached to each tank pawn. These widgets are set to render to the screenspace just above the pawn. I have an image driven by a material to make a circular 'reloading' effect. My problem is when the player pawn passes any other tank pawn on the Z axis of the camera, the circle reloading effect disappears entirely.

alt text

alt text

The Material I'm using to render the circle effect; alt text

This effect is not present if the Widgets are set to render in worldspace, however this creates an effect that is undesired. I need the UI to be constant no matter how far the pawn is from the camera.

Product Version: UE 4.22
Tags:
screenshot-9.png (224.8 kB)
screenshot-10.png (103.5 kB)
screenshot-11.png (293.4 kB)
more ▼

asked Jun 04 '19 at 07:14 AM in Blueprint Scripting

avatar image

SirWesleyIV
31 2 6 7

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

1 answer: sort voted first

I found my problem. Within my widget blueprint I had a "Create Dynamic Material Instance" node that had a single "s" in the Optional Name input. I imagine this was causing all instances of the widget to use the same Dynamic material instance, and therefore screenspace.

more ▼

answered Jun 04 '19 at 07:57 AM

avatar image

SirWesleyIV
31 2 6 7

(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