• 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 Ronnrein · Dec 07, 2013 at 04:59 AM · physicsragdollstretching

Ragdoll strech issues when dragging

Hi! I am just starting out with unity and i am trying different things. I have made a ragdoll of a fish to drag around and throw, however when i move the mouse too fast it starts stretching, sometimes to the point of really bugging out. Here is a live demo, click on the cylinder and hold to spawn a fish which you can drag around, dragging it around violently will recreate the issue. The fish has 5 character joins and each has a capsule collider. The tail bone is kinematic and is moved to the position of the mouse on an invisible plane.

http://ronnrein.com/unity/test/Export.html

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 karlhulme · Dec 07, 2013 at 12:26 PM 2
Share

I struggled with this type of behaviour for ages - in my case I was dragging a humanoid character up onto a ledge by their hand or foot. The problem was the man started to stretch and jitter everywhere.

After much searching I believe the issue stems from the fact that PhysX uses an 'iterative solver' and as a consequence can't cope with a large weight on the end of a small one. The ideal solution would be to use a 'direct solver'. This wasn't practical for me though - i wasn't about to write a new physics engine!

So ins$$anonymous$$d, when dragging the character I adjusted the weight distribution so that the point of contact was heavier and the dangling parts where lighter. If you wanted to try this out, then just adjust the weights of the rigidbodies directly in the inspector while the fish is stretched - when you hit the right numbers the fish should stay together better. It worked for me but required a lot of tweaking! HTH.

avatar image hesselbom · Jul 15, 2015 at 07:27 PM 0
Share

karlhulme: That comment should be the answer. I had a similar issue and the weight was exactly my solution!

0 Replies

· Add your reply
  • Sort: 

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

19 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

Related Questions

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

Ragdoll behaving incorrectly when disabling animator component. 1 Answer

How to Control A Ragdoll 1 Answer

Help with Ragdoll Character Controller 1 Answer

How to apply joint's inverse forces to another body 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