- Home /
Ragdoll elongates on Bike
I am making a Bike Racing game in which I attached a ragdoll to its body.
I used Fixed joints on handle for Ragdoll's hands and For legs on paddle.
The problem is that this ragdoll used to elongate when the bike runs which seems natural as only some of its parts are attached to the bike body.
Then I attached all the parts of it to the seat of the bike but the ragdoll started moving backwards whenever the bike gains speed. The whole body moves towards the back. I tried changing mass etc but nothing works.
Now I have set all the body parts to "isKinematics" which made it all static.
What I want is that Hips, Hands and Legs should be attached but when I turn the bike the parts of body like Spine and Hips move according to the physics. When I tried making some parts not isKinematics, those parts elongate all the way too far depending on the speed of the bike.
Is it any way to control this elongation (such that a body attached to another with a bone can elongate upto some LIMIT or something.) I tried playing with the variables but nothing worked.
Any idea or help is appreciated.
I think a lot of people have had the same issue with joints being elastic and going all over the place, perhaps the rigidbody isn't very good for anything except falling! it wasn't made for kind of physics as you are using it. You can use joints ins$$anonymous$$d of springs. http://forum.unity3d.com/threads/9551-Joint-stretching-problem
Your answer
Follow this Question
Related Questions
Character Ragdoll physics on Dirt bike? 0 Answers
how do you assign a root for ragdoll 1 Answer
Collision with rigidbody inside a gameobject 0 Answers
ragdoll disappearing when off screen 5 Answers