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 /
avatar image
2
Question by Chelmney_ · Apr 15, 2014 at 03:25 PM · animationmecanimragdoll

Animating Ragdolls

Hey,

I have a question about animating ragdolls. I know how to make a ragdoll using Unity's wizard. I also get how to make it transition from Mecanim to ragdoll by disabling/enabling the animator and kinematic elements. However, I want to know if and how it is possible to combine Mecanim with a ragdoll. Say I have an animation that animates only the feet of my character - a simple walking animation, but without arm movements. The ragdoll should follow the movement while at the same time making the arms flail around. A great example of this would be this game, which is also being made in Unity: https://www.youtube.com/watch?v=GzDElvfQcU0

Due to the combination of animation and ragdolls, the combat really looks as smooth as butter. I want to achieve a similiar effect. Can anybody explain this or at least point me to a good resource? I really don't want to have to buy a plug-in as I want to understand the topic, not just slap it on my character.

Thanks in advance.

Comment
Add comment · Show 2
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 Chelmney_ · Apr 16, 2014 at 10:05 AM 0
Share

Anybody have another idea?

avatar image koray1396 · Apr 16, 2014 at 04:48 PM 0
Share

Just an opinion and maybe there are better ways, but what i'm thinking is to create seperate parts and animations for different parts and attach them together under one other object. I think you would get the behaviour you want.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Griffo · Apr 16, 2014 at 10:45 AM

I'm using THIS

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 Chelmney_ · Apr 16, 2014 at 10:46 AM 0
Share

Yeah, that's the plug-in I was referring to. Do you know how it works? I don't just want to use it, I want to understand how it works as well.

avatar image Griffo · Apr 16, 2014 at 04:30 PM 0
Share

If you email Patrik (the developer) he'll answer any questions you have, he's very responsive.

kavorka-racing.com

The code can be deciphered and understood, and edited if needed you suite your project, I work in javascript so had to write a global script as a go between as the compile order didn't work with some of my .js I'd written a while back (large ones) and wasn't going to re-write them so used a global script to hold variables AnimFollow and my .js need to access, then added in the correct compile order, all the AnimFollw scrips are in C#

avatar image
-1

Answer by HuskyPanda213 · Apr 15, 2014 at 03:40 PM

Ragdolls are made using special components: Colliders, Joints, and Rigidbodys(I think). So, if you want the arms to move(maybe even the whole body), you should create the ragdoll, but remove the components from the objects that should not be effected by the ragdoll.

Hope this helps, comment if you still need help.

Comment
Add comment · Show 4 · 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 Chelmney_ · Apr 15, 2014 at 09:14 PM 0
Share

Sorry for answering so late. I get your point, but this actually does not work because if you slap an animator on a ragdoll it will work just like a normal character, the ragdoll does not matter. Therefore, everything will get animated no matter if it has colliders/joints/etc attached to it or not.

avatar image AlkisFortuneFish · Apr 16, 2014 at 10:10 AM 0
Share

Set the animator mask not to animate the parts that should be ragdolled.

avatar image SpaceManDan AlkisFortuneFish · Apr 14, 2016 at 11:26 PM 0
Share

Do what he says. This is the official way to fix/do what you are asking.

avatar image Chelmney_ · Apr 16, 2014 at 10:22 AM 0
Share

That works for disabling the animations for body parts so thanks for that, but those body parts somehow do not get a ragdoll effect. The arms just remain in front of the character, not reacting to impact or physics in general.

avatar image
-2

Answer by facePuncher7 · Jun 01, 2016 at 03:40 AM

Check out my game Face Puncher on the Google Play Store, it's similar to Gang Beasts, entirely animated with physics.

If you have questions send a message to BigSmokeGames on facebook, my business page.

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 sebastiao_lucio · Aug 31, 2020 at 03:51 PM 0
Share

Hello @Dreadlock666 ! my name is sebastião lúcio and i'm a developer for a small indie studio and we took a good look at his amazing Face Puncher game and we love his RagDoll system because we are creating a new game similar to yours and the fall guys and we need this system in our game, would you have it available? thank you very much for your attention!

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

28 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

Related Questions

Using mecanim for a character on a motorbike 1 Answer

How do I force my character to a certain pose (T pose) in Unity 4 scene view? 3 Answers

Mecanim and Ragdoll Issues? 2 Answers

Blending Animator Animations with Ragdoll 2 Answers

Animating a bone's Position on humanoid rig 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