Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[PUN] AI owner in game using voxel terrain.

$
0
0
Hello,
I'm making multiplayer game with voxel terrain, and I'm decided to add AI to it, but problem is that voxel chunks are optimized and master client doesn't have same chunks as player which AI chasing.
[​IMG]
To avoid it I instatiate enemy as scene object:
Code (CSharp):
  1. PhotonNetwork.InstantiateSceneObject (prefabName, position, Quaternion.identity, 0, new object[1]);
Enemy has photon view set as takeover, and to...

[PUN] AI owner in game using voxel terrain.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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