Hide certain object from certain camera

Hello everyone.

I’m working on a local multiplayer game and I have an actor that makes a trail for every player. It’s really cool to the see the trail of other player, but your own trail really blocks the view.
So I wanted to know if it was possible to make that trail actor visible only for the other player and not you.

It can be done in C++ with these functions of APlayerController, I don’t think that’s exposed to blueprins anywhere

virtual void UpdateHiddenActors(const FVector& ViewLocation) {}
virtual void UpdateHiddenComponents(const FVector& ViewLocation, TSet<FPrimitiveComponentId>& HiddenComponents) {}
1 Like

It may be enough to enable ‘Owner No See’

image

2 Likes

Thank you! It works exactly how I want.