What should I use in an fps game where a player can instantiate a box so he can move it as he wants

Hello, what should I use in an fps game where a player can instantiate a box so he can move it as he wants(no physics just its transform), also other players can move it? What method should be used to instantiate the box? And it should have photon view and transform view right so it automatically syncs its position whenever a player moves it, right? Thanks

Answers

  • PUN only has one way to instantiate networked objects (PhotonNetwork.Instantiate) and the distributed authority about objects (positions and other properties) does not play nice with multiple players being able to manipulate objects.

    I'd recommend using Fusion instead. Start with Fusion 100 as "tutorial" and then build on top of that instead of trying to solve this as (seemingly) first step.