1340x810

HelpWithDrivers.png

๐Ÿงต Help with exporting drivers from blender to unity

Anonymous No. 892430

Can someone please help me w how drivers work? So, I've made animations that opens, closes, and locks the door and rotates door knobs when I move it along the Z axis.
I've also added these actions to the NLA stack but when I export them all as FBX the animations don't get exported with them in Unity.

Can someone please help? I can't find Blender to Unity tutorials for this one, my ADHD makes it worse when I can't figure out a solution :/

Anonymous No. 892431

>>892430
You have to apply drivers to ur bones... they get exported together with the bones...

Anonymous No. 892432

>>892431
>You have to apply drivers to ur bones... they get exported together with the bones...
I don't have bones for my door. Do I even need that? How do I apply drivers to bones?

Anonymous No. 892433

>>892432
Oh I know how to apply drivers to bones. I don't want to use bones. I just want to export animations along with the FBX, since the animations are in the NLA it should work right?
Or do I need to bake them and push the baked animation into the NLA?

Anonymous No. 892436

>>892433
You can't, blender animation is only for animating inside blender... search for a way to export the blender animation outside blender in google.

Anonymous No. 892437

>>892433
Unity is a video game engine... not a movie engine.

1808x781

screenshot-unity.....png

Anonymous No. 892438

>>892437
>Unity is a video game engine... not a movie engine.

Tell that to Unity.

Anonymous No. 892440

>>892430
This is the third time I'm seeing this, that I'm actually thinking of making a youtube tutorial.
In order:
1) Unity doesn't do drivers. Clear all your driver's keyframes to the actual actions, and then delete the drivers. Blendshapes work in Unity. Here's a script for Driver -> Blendshape (assuming you're driving blendshapes): https://blender.stackexchange.com/questions/105914/broken-script-to-bake-keyframes-from-driver-controlled-shape-keys
2) Make sure all modifiers except armature are cleared/applied. If you've an armature/shapekeys with all the other mods, blender won't let you apply them. This is pretty stupid as that means you'll have to rerig, reweightpaint, reshapekey. There's a script to get around this: https://github.com/przemir/ApplyModifierForObjectWithShapeKeys https://github.com/smokejohn/SKkeeper/releases
3) Unity has blender integration. Just drag and drop the blend file into your prefab/whatever folder to bypass the shitty NLA system.

Anonymous No. 892519

>>892436
>>892440
Thank you. I've exported it to unity without drivers!

Anonymous No. 894953

>>892437
t. retard