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 JtM · Sep 14, 2010 at 05:54 AM · physicsiphoneragdollsleepwakeup

Floating ragdoll after wakeup

I'm making a game in Unity Iphone 1.7 which involves crashing objects into a ragdoll and recording the result. As the simulation progresses I save the state of all rigidbody objects so that I can replay it later. However when I reset all the object's to their initial state and then do another simulation, I get some strange results.

For some reason after several sleep / wakeup cycles, the ragdoll starts to float, as if there's very little gravity and extra linear drag.

This only occurs after maybe 5 or 6 wakeups (I sleep all the objects while replaying the previous simulation, then wake them up when a new simulation is started). Has anyone encountered this before? If so, is there a good way to solve it?

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

Answer by Charles-Van-Norman · Dec 22, 2010 at 08:25 AM

I have a similar problem, although my ragdolls are only instantiated and woken up once.

When instantiated, the ragdoll falls normally for about a second, then some limbs appear to float and spin on their own as if possessed, causing the body to spin and float in the air.

It's really quite creepy.

+1 anyone have a similar problem/solution?

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 The-Arc-Games · Oct 11, 2011 at 09:28 AM

What you both seem to experience is a joint related problem. Joints are tricky objects and if they're not setup, or re-setup, correctly, they're bound to behave strangely.

In particular, I believe that you might not be saving all the joint data, JtM. The only thing you can do is diagnose, removing joints and rigidbodies and colliders to understand which ones are the culprits.

In your case Charles, it might be that your joints are simply too elastic, or if you're lucky you just forgot to set some rigidbody's connected body to its parent.

Check out URG! our automatic ragdoll tool to see how it does set up the physics, so to have a valid reference, and stop by the forum thread if you have questions http://forum.unity3d.com/threads/107501-Release-URG!-The-ultimate-ragdoll-generator

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 samf1111 · Feb 05, 2020 at 10:34 PM

what i found was that all my cube colliders were turned into capsule, and sphere colliders.

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

2 People are following this question.

avatar image avatar image

Related Questions

My ragdoll is sliding 0 Answers

Prevent iPhone from going to sleep during play 1 Answer

Why is my Ragdoll so heavy headed? 1 Answer

Character pick up Ragdoll 0 Answers

Vector3 and power 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