Skip to content

Play an animation file

Nawhal Sayarh edited this page Aug 1, 2019 · 1 revision

From Unity, you can play an animation (FML or BML) file from the Animation Command Sender Tester script.

Animation Command Sender Tester in Unity

All you need to do is link the CharacterAnimation_Single_Autodesk script (in the virtual agent) to the script in Character, give the relative path to your file (whithout the .xml extension) from Greta's bin folder in Animation ID, launch Greta and Unity and press T while focusing on the "Game" in Unity.

A message will be sent to Greta with the path, Greta will read the file, parse it, play it and send the generated BAPs FAPs and sounds to Unity.