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 can i hide an actor from a scenecapture2d?

Hello!

the title sums up my problem pretty good. i got a minimap set up using this tutorial: https://wiki.unrealengine.com/UMG_Mini-Map

problem is that i'm working on a vr game and so i have to put the minimap as a 3d widget in the world. thats ok, but i don't want the minimap widget to be shown ON the minimap itself. looks a bit like minimap-ception. i put in a picture that maybe explains better. in the lower minimap you can see the widget. thats the thing i don't want.

how could i hide it from the scenecapture camera? do you know another way to implement a minimap, so i could go around this problem?

thanks,

wambo alt text

Product Version: UE 4.16
Tags:
minimap.jpg (54.1 kB)
more ▼

asked Sep 18 '17 at 06:35 AM in Using UE4

avatar image

wambo0402
12 4 3 5

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

1 answer: sort voted first

There's an attribute that might help you.

You can tell objects to be only visible to you or specifically not to you.

It's called "Owner no see" and "Only Owner See"

Hope this helps you out!

more ▼

answered Sep 18 '17 at 09:55 AM

avatar image

Schnittbrot
219 2 6 7

avatar image wambo0402 Sep 18 '17 at 10:21 AM

hy! thanks for your answer. i tried it, but the problem is the "Set Only Owner See" node only accepts primitive components and no child actors or actors. also i can't cast an actor to a primitive component.

do i use it wrong? or is it simply not the way to with my problem?

alt text

owner-see.jpg (82.1 kB)
avatar image Schnittbrot Sep 18 '17 at 10:32 AM

You can just set it in the actor itself.

alt text

Also to modify the actor within that child actor you'd need to cast to the class it contains.

alt text Baseservice is the class I assigned the child actor.

capture.png (555.6 kB)
capture.png (44.0 kB)
avatar image wambo0402 Sep 18 '17 at 11:16 AM

alright i found the only onwer see attribute. if i click it i couldn't see the minimap anymore. what i did to resolve this is in the picture.

i don't understand what you mean with "cast it to the class it contains". the MiniActor contains a Widget so i cast it to a widget? do i have to do this?

because it seems like it works as intended.

alt text

set-owner.jpg (50.3 kB)
avatar image Schnittbrot Sep 18 '17 at 12:35 PM

Glad that it worked for you! Please mark this as resolved / answered :)

avatar image wambo0402 Sep 18 '17 at 12:56 PM

Thank you for your help! :)

(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