|
Mereille Despres
Registered User
Join date: 5 Sep 2007
Posts: 79
|
10-11-2007 06:57
What are the options? From what I have gathered so far:
1. Each person starts their own animation, and then aligns each other (boo....) 2. Attachments on each person activate the animation, but they still need to align. 3. Linked poseballs
So for a "free roaming" partner animation (say a holding hands walk), either both people have to keep aligned, or they need to be in a place that allows item creation so that they can ride linked poseballs (with a control override to allow movement)?
Is that really it? Am I right in thinking that attachments cannot actually move an avatar?
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
10-11-2007 07:16
Either use two linked poseballs or one that has two scripts in it that sync the animations once both have anim permissions.
There is no more efficient way to get it done.
|
|
Tatsuki Oyen
Registered User
Join date: 5 Jun 2007
Posts: 1
|
10-11-2007 08:04
I found it done similar to Squirrel's idea. Two linked prims, three scripts: two for the animations, and one that serves as a sort of controller. When a person stands on one of the prims, a message is sent by the activated animation script to the controller script but nothing overt happens other than the controller script notes that someone is one of the prims. Then another avatar jumps on the second prim; that animation script sends a message to the control script, which takes notice that both prims are occupied. Then the controller script sends a message to both the animation scripts in both prims, and these individual prims then make the respective avatar play their part of the animation.
llMessageLinked is your friend.
|
|
Mereille Despres
Registered User
Join date: 5 Sep 2007
Posts: 79
|
10-12-2007 05:45
Thanks. That is how I thought it would work.
One more question though. I saw a HUD product the other day that had a 'move to closest avatar' function. Push a button, and you would walk to the nearest avatar, then play a hug animation.
How is this possible from just an attachment? I thought you couldn't control avatar movement from a script. Are they moving the attachment and the avatar goes along for the ride?
|