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: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

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

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!

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?

You can just set it in the actor itself.

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

Baseservice is the class I assigned the child actor.

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.

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

Thank you for your help! :slight_smile: