11-12-2019, 04:02 PM
(This post was last modified: 11-12-2019, 04:04 PM by Dissident Dan.)
Hi, I have an ObiRope using a PinConstraint to attach to a rigid body. The body moves at about 15 units/second (quick, but not unreasonable IMO). I noticed two things:
1) The pinned particle often lags behind the rigid body and has to catch up once it slows down.
2) The rope stretches out, with big gaps between the particles.
3) The particles exhibit a clustering effect, often with pairs of particles and then the aforementioned gaps in between the pairs.
Questions)
A) The stretch compliance is zero, so this is theoretically as unstretchy as the rope can be. Is there any way to avoid this stretching?
B) I'm thinking that the clustering of the particles must have something to do with the way Obi interacts with FixedUpdate (I'm using 3 substeps in the solver). Is there any way to smooth this out?
In the attached image, the little, grey spheres are the particle positions for the rope. The rope is attached at one end to the small, grey cube on the right side of the image.
1) The pinned particle often lags behind the rigid body and has to catch up once it slows down.
2) The rope stretches out, with big gaps between the particles.
3) The particles exhibit a clustering effect, often with pairs of particles and then the aforementioned gaps in between the pairs.
Questions)
A) The stretch compliance is zero, so this is theoretically as unstretchy as the rope can be. Is there any way to avoid this stretching?
B) I'm thinking that the clustering of the particles must have something to do with the way Obi interacts with FixedUpdate (I'm using 3 substeps in the solver). Is there any way to smooth this out?
In the attached image, the little, grey spheres are the particle positions for the rope. The rope is attached at one end to the small, grey cube on the right side of the image.