• 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 Envy · May 26, 2010 at 01:55 AM · physicsragdoll

How do I apply reactions to players/enemies?

I want to achieve a few things with respects to players reacting to sudden movement and pain and the like. I think switching the model to rag-doll for a second would work for a few of them (i.e. riding in a car, car hits bump, turret guy moves sideways a bit, or shooting an alien in the leg and then having him lose it for awhile.) I think I can get this to work aside from the part where I put them back in from limbo. If the movement depends upon the situation, how do I make them attempt to stand back up or snap into position again? Thanks, all who dare answer this, its tough.

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

3 Replies

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

Answer by spinaljack · May 26, 2010 at 03:26 AM

Simple answer: "you can't"

Complex answer: do a similar 100% ragdoll character to the Blurst Minotaur and set it's joint target angles to match that of a preanimated character on the fly.

Putting a character into ragdoll is easy, getting it back to animated is very hard as you don't know what position he'll be in. You could try to fudge it so that the character springs into a predefined position using spring joints but you still wouldn't get a perfect match with an animation and you'll notice a jump or pop back into animation mode.

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 Envy · May 27, 2010 at 09:59 PM 0
Share

darn. I guess the next step is to have no animations and just have my player try to gravitate towards a certain motion. but thats too hard. hooray for capsule-people!

avatar image
1

Answer by parsed · Nov 07, 2012 at 08:06 PM

hooray for capsule-people! This is not a real solution.

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 The-Arc-Games · Jul 29, 2013 at 04:25 AM 0
Share

Sorry to chip in so late. The answer is not correct. You can. Ragdoll to animation is done with dynamic animations. Basically you manually create curves from the current ragdoll pose, for all animated transforms, and target your desired position, which is normally a specific frame of an animation.

You can see that in action in the free version of URG, which you can access from our signature.

avatar image
0

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

Play around with this system AnimFollow

It will get you close, really close if you are skilled and can modify the ragdoll control script.

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.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Collision with rigidbody inside a gameobject 0 Answers

how can i attach a ragdoll to my vr controllers,attaching a ragdoll to vr controllers, ragdoll is behaving sparaticaly 0 Answers

Ragdoll bouncing towards the initial position after disabling animation 1 Answer

How to set up a 3d active ragdoll ? 0 Answers

Character pick up Ragdoll 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