Replies: 1 comment
-
I haven't tested that feature, the btSoftBodyHelpers might have issues. If you end up fixing it, please share a patch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there some minimum length for the soft body created by "btSoftBodyHelpers::CreateRope"? If so, how can I modify this? See below for the context.
It seems like the rope can't get any shorter than a length of 1 unit or so. For example, if I call "btSoftBodyHelpers::CreateRope()" with vectors a distance of 10 units apart, I can clearly see that the rope is longer than a rope created by with vectors a distance of 1 unit apart. But if I can't seem to make the rope any shorter than that. No matter how small the distance between the vectors are, the rope always remains the same length as if I used vectors a distance of 1 unit apart.
Below is an example using the
SoftBody
demo distributed with Bullet. I only modified theInit_Ropes()
function.With
btVector
s distance 5 units apart:With
btVector
s distance 1 unit apart:With
btVector
s distance 0.1 unit apart. Note that the rope is no shorter than when I had the vectors 1 unit apart (in the above example), which seems strange to me:I previously mentioned this in the forum.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions