I would like some advice about how to orient the healthbar of my player characters to be oriented according to the player looking at in split screen.
I attach a picture with a simplified setup to ilustrate my current situation:
In a single local player situation, I just get the player controller and I would calculate the look at rotation, but I am not sure how to orient my widget differently for each camera view in my split screen setup.
Which would be the correct approach for this use case?, I am currently thinking about two approaches:
- Create a new widget for each player with camera and make It only visible to him.
- Explore the CalcCamera function to return a different setup according to the camera used.
Do you have any other ideas how to solve this?