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
0
Question by $$anonymous$$ · Aug 13, 2014 at 09:21 AM · velocityragdolljointssleepimpact

Ragdoll problems

I'm trying to get my ragdoll character working. The problem is that when the character collides with another object with enough velocity, some joints behave unconsistently. Sometimes the upper part of the legs bend a lot more than it's limits and are then stuck to that orientation. Upper legs partly inside the body for example. Sometimes a hand gets stuck inside the torso as well.

I've also noticed that with hard enough impact the joints get separated (stretching). For example, the head gets out of its "socket" and then returns back to it's correct position. Are there any workarounds or can this be fixed with some adjustments?

Another main concern is that when the ragdoll drops on the ground, it never goes to sleep state, no matter what values I put into the Sleep Velocity or Sleep Angular Velocity. I've tried playing around with drag values etc.

Any help on either problem?

Thanks in advance!

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 Owen-Reynolds · Aug 13, 2014 at 01:46 PM 0
Share

On the ground, does it always "jiggle" a tiny bit, or slide slightly, and in general look figity? That usually means the positions, sizes masses of the joints/colliders need adjusting.

avatar image $$anonymous$$ · Aug 13, 2014 at 03:03 PM 0
Share

The jiggle is almost unnoticable. It's more like the arms slowly twisting back and forth when lying on the ground. The character is not stuttering or anything. I've managed to fix the joints from "overbending" by adjustin the body collider size and $$anonymous$$ penetration for penalty setting. Or at least I have not been able to reproduce it.

avatar image $$anonymous$$ · Aug 13, 2014 at 03:05 PM 0
Share

The reason why I need the ragdoll go into sleep state is that I want to reload the scene when the ragdoll is on the ground and not moving anymore. Any workaround to accomplish this?

avatar image $$anonymous$$ · Aug 14, 2014 at 09:51 AM 0
Share

Anyone? The main problem is now, that I still can't get the ragdoll to sleep. The stretching is still there, but I can live with it, barely.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Owen-Reynolds · Aug 15, 2014 at 09:36 PM

Ragdolls can be very finicky. I've had several, esp. with longer "bone chains," that tended to sway like seaweed, and gently crawl like a worm ... and was able to tweak them to stop that. I can't pick out any rules, but you get a feel for distance between colliders, center of the joint, mass, springiness (I've found that a hard max bend tend to glitch more as it hits that limit -- better to have a strong spring past the limit,) drag on the individual RBs.

But if you need to, don't rely on Sleep. Wait 5 seconds, or until main body velocity is less than 0.01 but for sure after 10 seconds. And if the guy is still twitching when the game resets, no harm done. No one wants to watch him slowly slide down a shallow incline for 30 seconds.

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 $$anonymous$$ · Aug 17, 2014 at 06:18 PM 0
Share

Thanks Owen,

I'm still working on the stretching. Hope I'll get it fixed when using the more "final" model+rig. I've gotten the level to reload with a combination of sleep and velocity check.

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

2 People are following this question.

avatar image avatar image

Related Questions

How to make Character Joint rotate towards a rest position? 0 Answers

How to set Character Joint "Twist Limit" to current transform rotation? 1 Answer

Rigidbody has zero velocity but still moves 2 Answers

Add velocity / forces from object to instantiated ragdoll 1 Answer

Floating ragdoll after wakeup 3 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