• 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 Donvermo · Jun 15, 2020 at 12:28 PM · 2d-platformerrigidbody2danimator controller2d sprites2d animation

Issue with Animating MultiPart 2D Character with RigidBodies

Some background to the question:

I am attempting to animate and control a large multi sprite 2D Boss character for a platforming game.

Up until t$$anonymous$$s point I had been assigning individual animators for each of the limbs and using RigidBody2D to control the movement of each one respectively.

T$$anonymous$$s worked fine except for one t$$anonymous$$ng: synchronizing each animation state with the other controllers was a huge pain in the ass and error prone.


Hence my next step was creating one single Animation Controller using multiple layers to manage the animations together. T$$anonymous$$s worked great, on the animation side of t$$anonymous$$ngs. Catch was that now it had become completely impossible to alter the Transform of the the individual limbs (any c$$anonymous$$ld component below the animator)


  - Boss Character (main scripts and animator)
    -- BossHead (collider)
        -- SpriteHolder
    -- BossTorso (collider)
        -- SpriteHolder
    -- BossLeftHand (collider)
        -- SpriteHolder
    -- BossRightHand (collider)
        -- SpriteHolder



  • I have tried using transform.Translate instead of a RigidBody2D (same result)

  • I have tried checking apply root motion in the animator (same result)

  • I have doubly checked that no transform values were being modified during the animation (same result)

Unity version 2018.2.11

T$$anonymous$$s use case does not seem to be all that unusual so there must be a correct workflow for t$$anonymous$$s. Question is, what is the Unity correct way to ac$$anonymous$$eve t$$anonymous$$s?

Comment
Add comment · Show 4
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 Donvermo · Jun 15, 2020 at 04:22 PM 0
Share

If any other details about the setup are needed to clarify the situation I'd be happy to upload it.

avatar image Donvermo · Jun 16, 2020 at 07:36 AM 0
Share

bump 10 characters.

avatar image Donvermo · Jun 16, 2020 at 12:30 PM 0
Share

bump 10 characters

avatar image Donvermo · Jun 17, 2020 at 09:58 AM 0
Share

bump 10 characters

0 Replies

· Add your reply
  • Sort: 

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

145 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 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 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 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 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 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 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 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

How come my Attack animation won't work? 0 Answers

2d character not flipping ,2D animation not Flipping. HELP 2 Answers

How can I stop a glitch where my character transitions from left to right he snaps back? 0 Answers

Rigidbody2d Floating Above Ground 5 Answers

How to sync animation if animation should be use with specially object 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