Play Animation

Adds and plays a temporary animation clip on the agent.

Success:  When the animation clip has finished playing

Failure:  When the animation clip could not be added

Running: While the animation clip is being played


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
jointChainNamestring

This behaviour can play the animation clip on specific joints. If you leave this empty the animation clip is played on all the joints.
If you put a valid joint name then the animation clip is played only on this joint an its children

blendFramesintNumber of frames used to blend in and blend out the animation clip
frameRatedoubleFrame rate used to play the animation clip
numberOfLoopsintNumber of times that the animation clip should be played. Use -1 if you want infinite loops
clipNamestringAnimation clip name

Copyright © 2017, Toolchefs LTD.