Answer the question
In order to leave comments, you need to log in
How to implement muscle in box2d
What type of joints is suitable for the implementation of connections that behave like a muscle.
Tried DistanceJoint but it doesn't react on SetLength
Answer the question
In order to leave comments, you need to log in
What do you mean by "muscle"? if you want to move the body to which the joint is attached, then you need to look towards the joint motor. example:
jointDef.maxMotorTorque = 10.0f;
jointDef.motorSpeed = 0.0f;
jointDef.enableMotor = true;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question