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
1
Question by slkjdfv · May 04, 2010 at 01:14 AM · charactercontrollerragdolljoints

100% ragdoll driven character... how

I'm trying to make my character model 100% ragdoll all the time. I'm not sure exactly how to start really. So far all i got is the ragdoll all set up. I'm using configurable joints not character joints. What i need to know is how to make him more and less like a ragdoll using variables. I hope I'm being clear lol. I have two animations done so far walking and running. So how do i blend it in with the ragdoll basically. Sorry if this is confusing and thank you for any suggestions. BTW I did search for tutorials but none of the ones I found were helpful except for the video "Physics the right way" on Unity's website. I got some tips from that.

Comment
Add comment · Show 3
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 jonas-echterhoff ♦♦ · May 04, 2010 at 02:37 AM 0
Share

I think you need to explain more specifically what you want. You say you want your character 100% ragdoll, but you also mention animations. That is contradicting, should the physics drive your character or the animations? I assume you want "both", but can you explain in more detail how you mean that? You can set up some body parts to be driven by animation and others by ragdolls, or switch between the two models as needed.

avatar image slkjdfv · May 05, 2010 at 11:43 PM 0
Share

yes i want both. ok how do I explain this, hold on I'm thinking. I have two animations created for my player so far. What I have is a dummy model and my ragdoll. The dummy model does the animations and the ragdoll is set to try and match the dummies Joint rotations. However I don't know how to apply the right amount of forces to make the ragdoll stand upright and stay upright and move correctly. I'm trying to be clrear here. Sorry if this is more confusing.

avatar image slkjdfv · May 10, 2010 at 11:48 PM 0
Share

The best way to simplify what I want is to say watch the video "physics the right way" and when it gets to the part about $$anonymous$$itaur chinashop. or ragdolls in general watch those parts and you'll get the idea as to what I want. Heres the link :: http://unity3d.com/support/resources/unite-presentations/physics-the-right-way I'm still stressing and trying different things with no luck >.<.

5 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by The-Arc-Games · Nov 04, 2011 at 07:55 AM

You might want to consider if full ragdoll is really what you need, since there are a few alternatives available:

1- ragdollify a game model: your game model needs to become ragdool, you destroy it, and instantiate a ragdoll prefab in its place. PRO: very easy to implement; extremely lightweight. CON: requires a ragdoll prefab; can't achieve spectacular effects easily.

2- kinematify a game model: your game model is basically a ragdoll without physics. whenever you want, turn the rigidbodies attached to it into driven objects. PRO: requires little implementation; no need for additional prefab; can easily achieve spectacular effects with scripting. CON: uses more CPU than when ragdollified;

3- full ragdoll: animate the physics objects rather than the game model (complex subject with tongue-in-cheek, albeit fun, results). You need to google for this to see some examples and start to understand how it works. PRO: fun to look at, albeit at times spastic, which sometimes adds to the fun. CON: complex to implement. requires a lot of CPU compared to the other methods.

4- URGent ragdoll, our very own alternative: manage each transform physics within a single scripting class. Transition back and forth from animation to physics in any moment. PRO: extremely versatile; allows high quality finetuning. requires little more CPU than kinematified ragdolls, and offers a lot more functionality CON: requires accurate setup and dedicated management, albeit far less complicated than full ragdoll's, when done manually.

Point 4 is all about URG! the automatic game model physic manager that we develop. The free version offers a -lot- in the subject, and includes example scripts and prefabs for all cases, so please check it out if you're interested.

Comment
Add comment · 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
1

Answer by aeroson · Jul 27, 2013 at 09:21 PM

Just Cause 2 used similar kind of system: Nilsson_Andreas_PhysicsMeetsAnimation.pdf

I would get the current joints rotations in Update, let the Animator run, in LateUpdate get new rotations and restore old, in FixedUpdate use ConfigurableJoint (instead of CharacterJoint) and set desired targetRotation. The trickier part would be to balance the character >.> and now you can use joints instead of IK D:

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 xdegtyarev · Dec 03, 2013 at 02:40 PM 0
Share

Thank you for that link. I'm currently working right on that type of character control. Blending Animations/I$$anonymous$$/Ragdoll

avatar image
-3

Answer by rrrrrrrrrr · Sep 25, 2010 at 06:20 AM

yeh beby ragdoll.... my char moves but he doesnt put legs on the next stairs, he just falls his legs under stair brush

Comment
Add comment · 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
0

Answer by tastybeef · Apr 17, 2012 at 06:27 PM

I suggest you to begin with a 4 legged character. You start with the spline. Each segment has a configurable Joint with a script attached to it that controls the contraction with a delay. The delay increases from the head to the tail. The result should look like a snake. Then You add your legs attached to the spline by the same kind of configurable joints. Finally you creates and destroy hinge joints froms the legs to the ground as the character walks.

Comment
Add comment · 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
0

Answer by Kavorka · Feb 02, 2014 at 05:22 PM

Question was: 100% ragdoll driven character... how?

Answer: Like this, AnimFollow from Kavorka Games

Comment
Add comment · 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

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

6 People are following this question.

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

Related Questions

Best way to move a rigid body to an empty's position? 0 Answers

Instantiated ragdoll behaves differently than when placed in scene manually 2 Answers

How should I make a animate fully physics based Active Ragdoll? 0 Answers

Standard ragdoll insufficient for standard model? 4 Answers

Problem with Movement Script 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