Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Proper way to instantiate players in VR using PUN

$
0
0
I'm developing multiplayer game for HTC vive and looking for best practice of instantiating players in the network.

So far my setup is to have PlayerController that will instantiate (not on network) steamVR cameraRig prefab if isMine is true. And I instantiate seperated 3 GO that take transform of the both controllers and head.

So I want to instantiate playerPrefab for every player that joins the network so their movements (head, 2controllers) would need to be updated by that 3 GO I mentioned earlier.

Is this good approach? If so how can I achieve this last step of updating position?

Thanks

Viewing all articles
Browse latest Browse all 15755

Trending Articles