- Home /
Toribash-like joint bending and straightening
I want to make a basic gameplay loop like the control of Toribash in which you control a ragdoll character by commanding the motion of each joint in the character, making the physics bodies rotate appropriately.
At the moment I am primarily concerned with the joint controls - I set up a test scene with a ragdoll wizard character and have been experimenting with it. My most successful experiment has been to force the CharacterJoint swing1Limit and swing2Limit to the angles I want - I don't know if this is the "correct" or best method though.
Update: I've narrowed down the general process of simulated muscle flex to "force around the twist limits to create bending actions." It seems to work pretty reliably for knee/arm/shoulder bending.
I am still searching for an equivalent for torso/neck rotation with the swing limits and swing axis, but am narrowing down the possibilities.
Your answer
Follow this Question
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
Instantiated ragdoll behaves differently than when placed in scene manually 2 Answers
Best way to move a rigid body to an empty's position? 0 Answers