Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Multiplayer FPS Item Holding

Discussion in 'Multiplayer' started by Atix07, Aug 4, 2021.

  1. Atix07

    Atix07

    Joined:
    Jul 27, 2013
    Posts:
    182
    Hello everyone!

    Im working on a multiplayer horror game but I have some logic problems. Every possible item in the game already in the players hand deactivated. So when I pick up items I deactivate the pick up item object and pool it and activate the premade gameobject on players hand. Only player can see that item because I will put a hand model.

    So instead of pooling the picked up object should I put that object in players hand for other players to see? I dont really understand the logic behind the fps hands and items holding. So there needs to be two same items for it to work because im using depth camera for players own items. If I dont use depth camera and put the item in plyers hand directly It would look bad on fps.

    Game is like this right now:


    edit: Im using Unity 2017 and Photon Pun 2
    Thanks!
     
    Last edited: Aug 4, 2021