Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 /
avatar image
0
Question by SanePumpkins · Dec 03, 2013 at 09:26 PM · animation2danimation editorskeleton

2D Skeleton Animation

Is it possible in Unity2D, to without any 3rd party add ons, create a 2D Skeleton animation? If so, are their any resources on this?

If a 3rd party tool is required, which ones are free? I don't seem to find anything related to Unity2D and Skeleton Animations but a few expencive programs and some people who managed to do it without said tools.

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

· Add your reply
  • Sort: 
avatar image
0

Answer by Spinnernicholas · Dec 03, 2013 at 09:41 PM

There is no explicit 2D skeletal animation built in to Unity Currently(4.3). But, you can do basically the same thing using the Transform Hierarchy.

You would setup a gameobject hierarchy in the same way you would create a bone hierarchy. When an object is rotated/scaled, all children will rotate/scale around the local (0,0). This is like the starting point of each bone.

Then you would add an animator object to the top-most parent object. Finally, you can create your animations.

Comment
Add comment · Show 6 · 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 SanePumpkins · Dec 03, 2013 at 09:50 PM 0
Share

I guess this doesn't allow for point snapping?

avatar image Spinnernicholas · Dec 03, 2013 at 09:51 PM 0
Share

No, it's very quick and dirty.

avatar image Spinnernicholas · Dec 03, 2013 at 09:53 PM 0
Share

For a very basic example, say I have a character made up of two halfs. A top and a bottom. I want to simulate a skeleton where the is a bone attaching the top to the bottom with a rotation point where they intersect. This is what I would do:

Note: Unless otherwise stated, all transform positions are (0,0,0)

  1. Create Top-$$anonymous$$ost Parent GameObject

  2. Create and Add Bottom Half GameObject to top-most.

  3. Create and Add Sprite to Bottom Half GameObject.

  4. $$anonymous$$ove Sprite so desired rotation point is at (0,0,0).

  5. Create and Add Top Half GameObject to Bottom Half GameObject.

  6. Create and Add Sprite to Top Half GameObject.

  7. $$anonymous$$ove Sprite so desired rotation point is at (0,0,0).

  8. $$anonymous$$ove Top Half GameObject to desired rotation point relative to Bottom Half GameObject.

Tada!

If it makes it easier to understand, you can name the Bottom Half GameObject BottomBone and the Top Half GameObject TopBone. Na$$anonymous$$g is up to you.

avatar image Spinnernicholas · Dec 03, 2013 at 09:55 PM 0
Share

For the best 2D animation tools, take a look at Spriter.

You should be able to export the animations into some intermediate format and then import them into Unity using a script.

avatar image Spinnernicholas · Dec 03, 2013 at 09:56 PM 0
Share

Look HERE.

Show more comments

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.

Follow this Question

Answers Answers and Comments

17 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

Related Questions

Unity 2D animation layers stop other animation layers. 0 Answers

how to make 2D sprites skeletal Movements 1 Answer

Spine animation: how to use a skeleton from a project to transfer to a new project in Spine? 1 Answer

Basic Rotation Animation in Z Axis is Making Really Weird Moves 2 Answers

2D Animation does not start 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