ðĒUnity's Animator System
SDK Integration if you are using the official animator system from Unity.
Our SDK offers functions in order to handle smoothly Unity's Animation system.
Local player:
To register/unregister your local player animator :
To stop animation on local player :
Learn more about our Animation functions in KinetixCore.Animation
Remote Peers:
To register/unregister remote peer animators :
Learn more about our Network functions in KinetixCore.Network
Using your custom uploaded avatar for Contact-Aware Retargeting
First, check Avatar Upload to get the UUID of one of your uploaded avatar.
Then, when registering your local player, you can pass the UUID of one of your uploaded avatar, this will allow the SDK to automatically use your custom retargeted emotes.
NPC or other local avatars :
In addition to the local player or remote players, you can also register other avatars (to animate your NPCs or shop avatars for example)
The registering of the avatar returns a string representing the unique Id (UUID) to pass as parameter to the subsequent functions.
You then load the animations with the avatar UUID
And play the animation with
Loading the full emote and getting the duration :
To get the Duration of an emote, you must first get a KinetixClip object. You can easily get it via the code sample
Please note:
You can have the duration in the OnSuccess callback
The OnComplete callback ensures the full clip is available
Last updated