uezo / ChatdollKit

ChatdollKit enables you to make your 3D model into a chatbot
Apache License 2.0
702 stars 73 forks source link

Support multiple idle animations #214

Closed uezo closed 1 year ago

uezo commented 1 year ago

Set idle animations at Awake() in your app.

// Idling animations (random every 30 sec)
modelController.AddIdleAnimation(new Animation("BaseParam", 19, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 7, 30.0f), 1);
modelController.AddIdleAnimation(new Animation("BaseParam", 5, 30.0f), 1);