• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by xaddict · Jan 05, 2010 at 02:07 PM · animationexport

How to get vertex animation into Unity?

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.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
7
Best Answer

Answer by duck · Jan 05, 2010 at 02:17 PM

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:

http://forum.unity3d.com/viewtopic.php?t=16425

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xaddict · Jan 05, 2010 at 02:27 PM 0
Share

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?

avatar image xaddict · Jan 05, 2010 at 02:38 PM 0
Share

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?

avatar image duck ♦♦ · Jan 05, 2010 at 04:35 PM 0
Share

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 :)

avatar image t_w · May 12, 2016 at 03:04 AM 0
Share

it seemed that the links are broken

avatar image Nition t_w · Jul 09, 2016 at 04:05 AM 0
Share

http://wiki.unity3d.com/index.php?title=$$anonymous$$esh$$anonymous$$orpher

avatar image
1

Answer by SpookyCat · Sep 14, 2011 at 09:05 PM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by TexeL · Oct 04, 2011 at 01:53 PM

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Exporting animations 1 Answer

character movement and animation 1 Answer

Why can't I import animations? 1 Answer

Can I export particle system animations as image sequences without desktop recording software? 1 Answer

Can material animation be exported from maya and imported into unity ? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges