0
$\begingroup$

I am a beginner with both blender and unity. I have created animation in blender using an image sequence and a displacement modifier (attached image).

my animation

i want to export this animation to unity. currently i am exporting as fbx with only armature and mesh selected when exporting.

When importing this file (fbx) in unity, i can see the result however it is not animating. i want it to be in an animation loop when imported in unity...

Any help in this direction is much appreciated..

$\endgroup$
1
$\begingroup$

You can't export modifiers through fbx, even less modifiers with animations. Model animation wise, fbx can only store skeletal animations and shape keys.

For this particular one, you have two real options:

  1. Apply each frame as shape key (go to each frame individually, make copy of the modifier, then click "Apply as Shape Key". As result you should have key for each frame in "Properties > Data" tab. Fbx will export shape keys to unity (called "blend shapes" in unity), though you will need to use unity's animation tools and/or scripting to cycle through the blend shapes. There's also unity plugins for doing this.

  2. Script that in unity. For that simple and seemingly random displacement script/shader works just as well if not better and more efficiently. (details of implementing this are not topic of this site but of Unity answers or Game development SE)

$\endgroup$
  • $\begingroup$ thanks for suggestions, working through unity seems easier... $\endgroup$ – Manoj Pant Jul 26 '16 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.