1340x810
HelpWithDrivers.png
๐งต Help with exporting drivers from blender to unity
Anonymous at Mon, 18 Apr 2022 07:43:17 UTC 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 at Mon, 18 Apr 2022 07:51:41 UTC No. 892431
>>892430
You have to apply drivers to ur bones... they get exported together with the bones...
Anonymous at Mon, 18 Apr 2022 07:55:32 UTC 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 at Mon, 18 Apr 2022 07:57:02 UTC 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 at Mon, 18 Apr 2022 07:58:31 UTC 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 at Mon, 18 Apr 2022 07:59:36 UTC No. 892437
>>892433
Unity is a video game engine... not a movie engine.
1808x781
screenshot-unity.....png
Anonymous at Mon, 18 Apr 2022 08:18:23 UTC No. 892438
>>892437
>Unity is a video game engine... not a movie engine.
Tell that to Unity.
Anonymous at Mon, 18 Apr 2022 08:35:57 UTC 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/q
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/ApplyMod
3) Unity has blender integration. Just drag and drop the blend file into your prefab/whatever folder to bypass the shitty NLA system.
Anonymous at Mon, 18 Apr 2022 18:22:52 UTC No. 892519
>>892436
>>892440
Thank you. I've exported it to unity without drivers!
Anonymous at Mon, 2 May 2022 17:34:42 UTC No. 894953
>>892437
t. retard