Objects only one player can see?

I want to make a game like outlast trials with night vision. When the night vision visor is pulled down, I want the player to have the night vision visibly on their head but hidden for the player that has it down so they don’t have it blocking the camera. I also want a light emitted (IR Light stand-in) on the night vision only that one player can see.

Easiest way would be to use near clip plane. Theoretically you might be able to do it with stencils.

Besides that I think this functionality is completely absent from the engine.

It might also be possible to mess with the material so that it is transparent when viewed from the angle of the parent player’s camera, but it could get kinda tricky, especially if you’re not familiar with materials.

You could also use this technique to make it only visible from cameras outside of a certain range:

1 Like

Static Mesh Component has the flags Only Owner See and Owner No See.
The second one will suit you.

2 Likes