splinedrew
Member
I'm wondering what the best practice would be for setting up Item Pick Ups in a split screen style game.
Say there are 2 players in a left screen/right screen game. Say Player 1 drops an item from their inventory. Now when player 1 or player 2 walk up to the interactable, the Pick Up Canvas is displayed. The problem is the pick up canvas is displayed on both players screens, but only oriented to Camera.main per the BillboardFx script. I can make my own billboarding script to select a specific camera to look at, but how do I know which player is the current user/owner of that interactable? The other thing I would have to take into account is setting up the Layers the PickUpCanvas is on so that it only displays to the camera that is the owner of the interactable. I guess I am just wondering if anyone has some insight on the best approach to this and how to determine the current owner of the interactable.
Thanks!
Say there are 2 players in a left screen/right screen game. Say Player 1 drops an item from their inventory. Now when player 1 or player 2 walk up to the interactable, the Pick Up Canvas is displayed. The problem is the pick up canvas is displayed on both players screens, but only oriented to Camera.main per the BillboardFx script. I can make my own billboarding script to select a specific camera to look at, but how do I know which player is the current user/owner of that interactable? The other thing I would have to take into account is setting up the Layers the PickUpCanvas is on so that it only displays to the camera that is the owner of the interactable. I guess I am just wondering if anyone has some insight on the best approach to this and how to determine the current owner of the interactable.
Thanks!