Hello!
I am trying to add a "rope" behavior to PulleyJoint... According to box2D manual : "The total length of the pulley rope is conserved according to the initial configuration".
But this give a very strange behavior when second body is on an horizontal surface : the body is pushed according to first body...
I tried to modify b2PulleyJoint::SolveVelocityConstraints and b2PulleyJoint::SolvePositionConstraints but without success.
Has someone any idea how I can achieve this type of effect?
Thanks in advance,
Thibault!
I am trying to add a "rope" behavior to PulleyJoint... According to box2D manual : "The total length of the pulley rope is conserved according to the initial configuration".
But this give a very strange behavior when second body is on an horizontal surface : the body is pushed according to first body...
I tried to modify b2PulleyJoint::SolveVelocityConstraints and b2PulleyJoint::SolvePositionConstraints but without success.
Has someone any idea how I can achieve this type of effect?
Thanks in advance,
Thibault!