Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

question for those in the know

Damet Neumann
Registered User
Join date: 21 Apr 2006
Posts: 140
07-29-2007 08:05
i asked this in animations then thought it might be more scripting related

whats the best way to synch animations in your opinion im sure there is more than one way just lookign for what works best for you :P
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
07-29-2007 09:05
Syncing animations seems to be a little subjective, since for a lot of things getting them really close, but not exact, works fine.

Also it depends on what you're trying to sync with. But if you just have two people using 2 separate objects, each wanting to sync with the other, just a couple of START messages chatted between the objects seems to work "good enough" for most things I've dealt with.
Damet Neumann
Registered User
Join date: 21 Apr 2006
Posts: 140
thanks
07-29-2007 09:09
that the way i was leaning but didnt know how much of an issue it would be to get then to start at the same time with lag and stuff thought there might be a better way :D
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
07-29-2007 09:22
I agree: this is not an exact science, no matter how clever one tries to be. One thing: most sync'd poseballs are actually in a linkset, so for those you can get by with linkmessages instead of chat (not that it's a big deal--and the downside of linking them is that only the root prim's llSetSitText actually shows up). I generally let just one of them listen on channel 1 (since that's where everybody expects it), then llMessageLinked to the other with a time .5 secs in the future to restart the anim, then both wait on timers.

But usually, the first time they're sync'd, they'll look wrong anyway, cuz it takes some time for the anims to find their way to the viewer. Seems to work fine after that--even though timer resolution isn't all that precise.

Really, though, having both just listen on the same channel works about as well.

Be interesting to see what the animators have to say on the subject.