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

General question regarding networked enemies

$
0
0
I'm currently having issues with getting lots of lag when I spawn enemies in my 2 players co op game...this only happenes when 2 people are in the game. They each have a PhotonView and I only observe position and rotation.

Is it better to put a PhotonView on each enemy or put them in an array and manage them from another script and only use 1 PhotonView? I really want to maximize the amount of enemies my game can handle.

Also, my enemies are on a Navmesh and using a NavAgent. Do I have to network that as well?

Any help will be appreciated

Viewing all articles
Browse latest Browse all 15755

Trending Articles