Hi there,
I'm transferring my VR game from Unet to Photon and would love to get some suggestions on how to best setup the transformView component and PhotonView on 2 objects in my game.
The game is about building a base out of blocks and throwing snowballs:
![image]()
Blocks:
There are around 30-50 blocks per game (20ish per player). Blocks can be moved and stacked together to assemble a base, most of the time players will be moving 1-2 blocks at a time (one in each hand). Blocks have rigidbodies with gravity and colliders. It's important that the block positions and rotations are accurate as players often meticulously build their bases. I've noticed with the default transformView settings that sometimes blocks will move around on their own on the remote client even though they are completely still on the local player who owns the blocks. Each player is the owner of their blocks' photonView.
Snowballs:
These are spawned and throw by players, they can throw 2 at a time (one in each hand). The snowballs can bounce off of objects so I think they need to be synced instead of just fired like a bullet as their exact movement can change if they bounce off an object (block) that is not yet synced to the correct position. In the single player game, the snowballs will damage blocks and can also move blocks with physics if they have enough force.
-JJ
I'm transferring my VR game from Unet to Photon and would love to get some suggestions on how to best setup the transformView component and PhotonView on 2 objects in my game.
The game is about building a base out of blocks and throwing snowballs:

Blocks:
There are around 30-50 blocks per game (20ish per player). Blocks can be moved and stacked together to assemble a base, most of the time players will be moving 1-2 blocks at a time (one in each hand). Blocks have rigidbodies with gravity and colliders. It's important that the block positions and rotations are accurate as players often meticulously build their bases. I've noticed with the default transformView settings that sometimes blocks will move around on their own on the remote client even though they are completely still on the local player who owns the blocks. Each player is the owner of their blocks' photonView.
Snowballs:
These are spawned and throw by players, they can throw 2 at a time (one in each hand). The snowballs can bounce off of objects so I think they need to be synced instead of just fired like a bullet as their exact movement can change if they bounce off an object (block) that is not yet synced to the correct position. In the single player game, the snowballs will damage blocks and can also move blocks with physics if they have enough force.
-JJ