Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 JesterMaster · Dec 30, 2015 at 08:27 AM · animationcollisionphysicsragdoll

Character animation/ragdoll problem

Hi

I have 3d character that uses legacy animations. When it dies it has die animation. But if charater dies in staircase or slope it sinks inside objects or "hangs" in air.

I have added ragdoll to the character and now when the die animation ends it behaves many times normall. But problem is if enemy dies near walls or slopes this animation will drive the charater inside the wall or floor collider before the ragdoll effect kicks in. So when die animation ends it bounces the ragdoll out from the collider or sometimes the charater gets stuck inside the object and limbs get stretched etc.

How can I prevent this from happening?

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 NGC6543 · Dec 30, 2015 at 09:34 AM

Unity's Animator Controller(Mecanim) has an option "Animate Physics". But you are using the legacy animation component so this would not be an option.

If the character has a Rigidbody component and is not kinematic, then probably you could attach primitive colliders to bones(for example on head, chest, fore arms etc) and they might being pushed out when the die animation is in action, I think.

Comment
Add comment · Show 2 · 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 JesterMaster · Dec 30, 2015 at 10:19 AM 0
Share

I have colliders in every joint. Is it possible to stop the die animation and start the rigidbody effect whet the character collides anyobject. This way I could run the die animation as far as possible?

avatar image NGC6543 JesterMaster · Dec 30, 2015 at 03:51 PM 0
Share

hi @jester$$anonymous$$aster, I have an experince with the Animator Controller but I'm not an animation guru so I can't tell exactly waht to do, sorry. The question you had asked via comment... If colliders are attached like that, probably a script that is attached to the root gamepbject can detect wether one of its colliders had collided to a wall or not(if walls are in a separate collision Layer) and from that event I think you can enable the ragdoll effect accordingly.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How To Implement An Active Ragdoll? 0 Answers

Disable ragdoll without changing Kinematic boolean? 2 Answers

How to create physics based animation character like in (GANG BEASTS)? 2 Answers

Collision with moving door 0 Answers

How do you turn on Ragdoll physics mid-game? 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