ai problems in PUN

Options
my game is a room based game,so i use PUN.
when i want to add ai,I meet some problems.
I want to simulate a player(it is a ai) ,when there is little player in mygame.
if i use photonview to simulate,i cant add a phtonplayer to this phtonview.
what can i do ? pls :D:D

Comments

  • Tobias
    Options
    PhotonPlayer represents a player not a AI or NPC or something in-game. If you will: a user.

    Please check out the Marco Polo Tutorial. Your first step from there (when you're completely done with that!) could be moving the monster through AI in the controller script.
    The idea is basically to replace user input with a script that does it automatically.