wiki.sine.space | sinespace

Difference between revisions of "Gestures/Multi-Person Animations"

From wiki.sine.space
Jump to: navigation, search
(Trigger)
Line 14: Line 14:
 
[[File:Gesture_offer_acceptance.jpg|thumb|512px|left]]
 
[[File:Gesture_offer_acceptance.jpg|thumb|512px|left]]
 
<br clear=all>
 
<br clear=all>
 +
 +
==Avatar Multi Animation Effect Script==
  
 
Attach the Avatar Multi Animation Effect Script instead of the Avatar Effect Script;
 
Attach the Avatar Multi Animation Effect Script instead of the Avatar Effect Script;
 +
 +
 +
[[File:Avatar_multi_animation_script.jpg]]
 +
 +
 +
'''Clip A / Clip B'''
 +
 +
Drag the animation takes from the fbx files for each of your two characters into these fields.
 +
 +
Clip A will play on the initiator of the gesture. Clip B will play on the guest.
 +
 +
'''Distance Apart'''
 +
 +
You can offset the characters here if you have not already defined the offset in via the root nodes of your models in your animation editing tool.
 +
 +
'''Fix Avatar Heights'''
 +
 +
If your gesture involves both characters engaging in a very prceise interaction, for instance shaking hands, you can align them using Fix Avatar Heights. Gestures played by tall and short avatars may not look correct otherwise.
 +
 +
'''Start Time'''
 +
 +
You can delay the initiation of the animations.
 +
 +
'''IK Targets'''
 +
 +
You can select one or more nodes on the avatars and impose an IK through the animation to correct for discrepancies in avatar sizes and shapes.

Revision as of 18:04, 22 June 2016

The process for setting up a multi-person gesture is the same as that for Gestures - Single Person Animation, except;

Trigger

Enable the trigger in the Avatar Effect Script. Set the trigger radius to 4.


Avatar effect script two person.jpg


Users can initiate a two person gesture inworld with a visible circle around them.


Gesture offer acceptance.jpg


Avatar Multi Animation Effect Script

Attach the Avatar Multi Animation Effect Script instead of the Avatar Effect Script;


Avatar multi animation script.jpg


Clip A / Clip B

Drag the animation takes from the fbx files for each of your two characters into these fields.

Clip A will play on the initiator of the gesture. Clip B will play on the guest.

Distance Apart

You can offset the characters here if you have not already defined the offset in via the root nodes of your models in your animation editing tool.

Fix Avatar Heights

If your gesture involves both characters engaging in a very prceise interaction, for instance shaking hands, you can align them using Fix Avatar Heights. Gestures played by tall and short avatars may not look correct otherwise.

Start Time

You can delay the initiation of the animations.

IK Targets

You can select one or more nodes on the avatars and impose an IK through the animation to correct for discrepancies in avatar sizes and shapes.