Multiple Animations
I created my animation and 3D modeling in Blender, I exported it over to the Lens Studio and realized that I have more than one animation. I have a lot of different models doing different things. Now, I don't know how to get the animation to play since I have a lot of Idle Anim Layer's. So basically, I am wondering if there is an easy way to set up a lot of Idle Anim Layer's. Thank you.
Hello Joshstitch,
You can follow the Animation Without Layer Guide to animate your 3d models based on the time instead of using animation layers.
Best,
Amir.
Thank you for the help, but it is still having me put in an animation layer. I still don't know what to put there since I have multiple layers in the animation mixer, Thank you.
When you export your animation from any 3D softwares, it's automatically create a layer for you. You can find your animation layer name by selecting your Animation Mixer in the Object panel, then you can see your animation layer name inside the Animation Mixer component.
In this screenshot, animation layer name is "BaseLayer".
joshstich, I think what your asking is that you have multiple characters each w there own idle animation layer which you would like to launch at same time, yet the software is only letting you select one of them?
I think thats just an inspector limitation.. im guessing you probably have to write a custom script that launches multiple animations at same time. Something following the effect of
initialize
Call anim 1
Call anim 2
...
Call anim "n"
then on touch,
Call anim x
Call anim y
Call anim z
etc
>Rest of code<
with actual code of course.
I'm heading into the same problem with a future project I have planned so was wondering if you've managed to get it working, and how. If not, perhaps the devs can tell us if my approach is correct or not.
Make sure to update to latest Lens Studio version.
In this version we update the Animation Mixer component that you can automatically play your animation by checking the Autoplay checkbox.
Also By clicking on Clip view, you can create animation layer easily and use the custom code to play them on certain events.