Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 /
This question was closed Jul 10, 2014 at 04:24 PM by MarkD for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by MarkD · Jan 03, 2014 at 12:47 PM · animationmeshdatasupportread

Animation data for non mesh purposes

Hi there, I wanted to know if it is possible to read out animation data to be used to move objects around rather than the intended vertices.

For instance: The animation data has information to animate a low poly mesh with vertices 0,1,2,3,4,5. In my scene I would have 6 objects (obj0,obj1,obj2,obj3,obj4,obj5). Is it possible to use the animation data intended for vertex location to be used as a Vector3 to move my objects around in the way normally the vertex should move?

I know it is a confusing question, but any insight would be great.

ps. I know there are options like bakeMesh for a snapshot of every vertex position, but those methods are a to big hit on performance, that is why i want to manually read out the animation data for the use of my objects position.

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

1 Reply

  • Sort: 
avatar image
0

Answer by GameVortex · Jan 06, 2014 at 09:16 AM

Animations do not animate vertices directly. They move the joints which the vertices are attached to. The joints are GameObjects. So using an animation to move objects around is exactly what animations are used for. You can not read the animation data directly to apply the movement in script though. You will have to play the animation directly on your gameobjects. Take a look at the **Animation View** in the manual and see that you can add the Position, Rotation and Scale of the object as curves to the animation.

Comment
Add comment · Show 1 · 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 MarkD · Jan 06, 2014 at 08:06 PM 0
Share

Ok, but so far it is not possible to use a joint animation to get the "vertex position" without having a mesh that is animated? Because all I need is use (possible) animation data (bones) on a swarm of objects in the same way vertices would be animated by bones.

So basically ins$$anonymous$$d replacing a vertices mesh with a swarm of objects having the same name as the vertices.

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Dynamically instantiated skinned mesh not playing animations 4 Answers

How to replace 3rd person mesh with my own? 0 Answers

Rigged model facing the wrong way 1 Answer

Importing .blend file - Missing Animation 1 Answer

Dealing with Mesh parts & Animations 0 Answers


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