Hi!
I've just updated to the SVN version and noticed that there is a new b2RopeJoint. Cool! Just what I needed a few days ago 😉.
I solved it with a similar code, but instead of creating a new joint type I modified the b2Distance Joint adding a bool member (isRope) that, when true, enforces the constraint only if the distance is greater than the configured.
This gives the same functionality than the b2RopeJoint, but better, because you have the frequencyHz and the dampingRatio options.
What do you think? Is this a good idea? Or is there a reason why I shouldn't do this? The fact is that my simulation seems to work pretty well...
Thank you in advance.
--
Rodrigo
I've just updated to the SVN version and noticed that there is a new b2RopeJoint. Cool! Just what I needed a few days ago 😉.
I solved it with a similar code, but instead of creating a new joint type I modified the b2Distance Joint adding a bool member (isRope) that, when true, enforces the constraint only if the distance is greater than the configured.
This gives the same functionality than the b2RopeJoint, but better, because you have the frequencyHz and the dampingRatio options.
What do you think? Is this a good idea? Or is there a reason why I shouldn't do this? The fact is that my simulation seems to work pretty well...
Thank you in advance.
--
Rodrigo