Synchronization in Unity3d
Posted: 25 Jun 2009, 13:45
Hi I apologise in advance for asking a question that has in some way been asked and answered a few times before, but I need to ask it of you all again as I am finding the concept difficult to understand.
I have an animation of sliding doors that I made in 3dsmax. In unity I have triggered the animation when a person walks up to the doors and it opens ok.
However other users in the environment can’t see that animation, only the person that triggers it can.
just to say that I have looked at the unity forum and the sfs forum and have gleaned that I need to synchronize that animation to the other clients in some way.
I tried network view in unity until I began to realise that I might be that I need to use sfs code to make the rpc. I openly admit I’m not the best coder but am working now with someone that is much better than I and is at least very competent in xml and actionscript, yey.
however nether of us know where to start on this. I have looked at the code on the localplayer in the sfsIslandDemo as it seems to me that the code on there tells the clients where the other person is and what animation they are doing, but even then we can’t see how the whole thing connects together.
I am also unsure of the correct terminology to use when discussing this so that might also be causing us a problem.
I realise that we are in the deep end but we should be able to figure things out once we are pointed in the right direction. We have no option but to accomplish this so that is the best incentive we can have.
Any help here very gratefully received.
if you can point me to a thread that discuses it in more detail, or a tutorial of a more step by step nature that would be realy appreciated.
many thanks tigs
I have an animation of sliding doors that I made in 3dsmax. In unity I have triggered the animation when a person walks up to the doors and it opens ok.
However other users in the environment can’t see that animation, only the person that triggers it can.
just to say that I have looked at the unity forum and the sfs forum and have gleaned that I need to synchronize that animation to the other clients in some way.
I tried network view in unity until I began to realise that I might be that I need to use sfs code to make the rpc. I openly admit I’m not the best coder but am working now with someone that is much better than I and is at least very competent in xml and actionscript, yey.
however nether of us know where to start on this. I have looked at the code on the localplayer in the sfsIslandDemo as it seems to me that the code on there tells the clients where the other person is and what animation they are doing, but even then we can’t see how the whole thing connects together.
I am also unsure of the correct terminology to use when discussing this so that might also be causing us a problem.
I realise that we are in the deep end but we should be able to figure things out once we are pointed in the right direction. We have no option but to accomplish this so that is the best incentive we can have.
Any help here very gratefully received.
if you can point me to a thread that discuses it in more detail, or a tutorial of a more step by step nature that would be realy appreciated.
many thanks tigs