Hiding a scene component for a specific local player in split screen.

Hi,

I currently have a 3D widget in world-space attached to enemy actors in my game that displays the enemy’s health. The game that I’m making supports split screen, so I’d like the enemy’s health bar to be visible on both player’s screens whilst being able to face both player’s cameras.

I nearly got this working by using two health bar widgets set to ‘screen-space’ and reassigning the local owner to each local player. However, screen-space makes the health bars show through walls which cannot be fixed to my knowledge. Instead, I’m trying to get the same functionality working with the widgets set to ‘world-space’.

I’ve already got two world-space widgets that each rotate to the camera of an individual local player. Now I’m really struggling to hide the widget that each local player doesn’t need to see. The owner of the health bar is the enemy so I cannot use ‘Only Owner See’ from the player’s perspectives.

I’ve attached an image of what I’ve got so far. It shows the two widgets that are looking at a local player each but are crossed since the local players can see both widgets. Any help would be greatly appreciated.

Thank you!

Hey @AbTKhan

You should try this out

Thanks for the reply, but this is not what I’m looking for. In my post I outlined that I’m trying to get world-space widgets to appear separately for local players in a split-screen game. The video you sent shows how to get normal UI elements to appear in a multiplayer game.

my apologies i didnt watch it through, i did think he was using world space widgets!