I'm having some difficulties with Box2D DistanceJoints, I'm trying to create a rope using DistanceJoints connecting some bodies together but the length of joints between bodies change due to weight of bodies, is there any way to prevent joint lengths from changing?
|
DistanceJoints can be soft spring like joints, or rigid and firm joints depending on your choice of Set You may need to set |
|||||||||||
|
|
I've faced the same problem, and what I've done was using DistanceJoint, with the frequencyHz set to 60 (or more) and the dampingRatio set to 0. Imagine your distanceJoint as a rubber thread.
|
|||
|
|
|
For those who may encounter this problem in the future: I just changed my approach, I used some |
|||||||||
|
