How to replace PlayerModel in demo_realtime_cs unity

Options
Terminator
edited September 2010 in DotNet
What would the steps needed to be taken to replace the "Player Model" in the demo_realtime cs" unity scene file? Like for example to set up just a standard fps "pill" character (the standard asset prefab), and to have movement not set to the grid? Just trying to figure this out. :D

Thanks

Comments

  • Tobias
    Options
    The script "usePhoton" is attached to the main cam. It has a public variable "PlayerModel" which defines which game object's Transform is sent by the demo.
    After you setup your own player model, you can assign assign it to "PlayerModel" in usePhoton and the demo will send it's coordinates. The steps your char can take then, depend on the step-distance it makes, not on the Photon scripts.