Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

trying to use "soldier" in multiplayer demo

Discussion in 'Multiplayer' started by rmbunity, Feb 5, 2008.

  1. rmbunity

    rmbunity

    Joined:
    Dec 1, 2007
    Posts:
    32
    Hi:

    I am playing using the characters from the CharacterAnimation demo
    in a multiplayer environment. I have been able to use a couple of
    the characters (e.g. goober) successfully. However, I can *not*
    get the soldier character to play animations at remote players other
    than one where he was started. Part of the key to getting goober
    to animate in all windows was to use something like:
    SendMessage("SyncAnimation", "walk");
    However, this does not seem to work for soldier. I am doing the
    SendMessage for goober at the same places where CrossFade is
    performed. I note that soldier does not have any CrossFades and
    wonder if the model is more different than I originally thought.
    Anyway, I want to get soldier's animations playing/synced at all
    players/windows. Any helpful suggestions would be appreciated.

    Thanks.
    --ralph
     
  2. KlaRo115

    KlaRo115

    Joined:
    Feb 24, 2006
    Posts:
    675
    Perhaps it's working when assigning "network view" to every part of the soldier?
    Veeeeeeery much work... :(
     
  3. rmbunity

    rmbunity

    Joined:
    Dec 1, 2007
    Posts:
    32
    I ended up just re-writing a portion of the ComplexWalkBlend script to
    use animation.CrossFade("walk") and SendMessage("SyncAnimation").
    Probably not the best option. But with the shortage of docs, etc. it
    seemed the easiest at the time.