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!