|
I'm trying to get an animated surface (like a constantly changing floor or a vortex surface) that is animated with its vertices into Unity (windows version) from Max 9.0 with the FBX exporter and .Max file. I;'ve tried both of them but the animation doesn't seem to be saved or it can't be read in Unity. Moving the plane (a 6x6 plane with 64 vertices that move up and down) as a whole up and down is visible in Unity, but the 'sub-animation' is not... Any ideas on how to solve this? The reason I want to do this is because I want to have a flat surface that transforms into an organic door, opening up for the hero.
(comments are locked)
|
|
Vertex animation isn't official supported by Unity yet, so you can't import vertex animations or morph targets directly. However, unofficial support has been put together by certain memebers of the community using scripting, which basically takes the vertex positions from a number of different meshes as the positional data for the morph targets, and so the target mesh must have the same number of vertices laid out in the same order as the source mesh. For more information and for the scripts, see this wiki page: http://www.unifycommunity.com/wiki/index.php?title=MeshMorpher and this forum post: if vertex animation is not supported then why does stretching of vertices by using bones or rigs work? or is this a completely different way of animation?
Jan 05 '10 at 02:27 PM
xaddict
what way could I get vertex-like animation without scripting? or: what other kinds of animation are there outside of moving vertices to change the surface?
Jan 05 '10 at 02:38 PM
xaddict
Yes - Bones-based animation (which of course animates the vertices in the end) is supported, but other methods of vertex animation aren't supported. You could either use bones to achieve the animation you require, or use the vertex animation scripts linked to in my answer. Or you could just make some nice simple sliding doors :)
Jan 05 '10 at 04:35 PM
duck ♦♦
(comments are locked)
|
|
MegaFiers will deal with the Vertex animation as well as morphing and all sorts of deformations. It has an exporter for Max and blender, you can find more info on the forums http://forum.unity3d.com/threads/89750-Mega-Fiers.-A-mesh-deformation-system-RELEASE
(comments are locked)
|
|
You can try to export any animation from 3dsmax with this script ! http://forum.unity3d.com/threads/99340-in2Unity-Geomtry-(vertex)-animation-export-from-3dsmax
(comments are locked)
|
