Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

InstantiateSceneObject doesn't move

$
0
0
Hi.

I have made it so a gameobject is Instantiated by using
Ship01 = PhotonNetwork.InstantiateSceneObject(ShipObject.name, transform.position, transform.rotation, 0, null);

This gameobject is moving around in the scene as it should until the PhotonView owner for it leaves. Then it become unmoveable. A new owner is assigned to the PhotonView but it still will not move. If you drag it in the editor it flies back to the original position. What have i done wrong?


Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>