|
|
Importing Gestures Anim nodes can be imported from a smls file by right clicking on an Anim node and selecting:
This command imports all Anim nodes that exists in the file so you would generally want smls files that you use as gesture library files, to contain just one Anim node (one gesture). The gesture file must have matching names for the part nodes that are referenced by the onFrame script.
Note, not all parts names need to match, only those parts that are referenced by the imported script, therefore typically, accessory parts would not be referenced in a gesture file.
Also care must be taken to ensure Interpolators being imported do not share the same name as Interpolators used else where in the scene. To avoid this problem always
use one common name for a type of gesture when using the setUpAnimation feature.
For example, all "hello" gestures use "hello", all "likes" gestures use "likes" etc. The import feature is straightforward enough but it is very easy to experiance problems arising from incompatible names. However if you follow these guidelines, few problems should be encountered:
Copyright © 2000-2006 Graham Perrett thyme@seamless3d.com |