Pulley Joint Behaviour

Posts regarding potential bugs, enhancement requests, and general feedback on use of dyn4j
maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Pulley Joint Behaviour

Postby maheshkurmi » Mon Sep 30, 2013 4:53 am

First of all thanks for the update..
When I was playing with new version I noticed that threads/ropes in pulley joints are applying compressive forces also, but I think that they should be applying tensile forces only.. Hence the force on connecting bodies should be zero when thread slacks(its length becomes smaller than natural length), but in this joint thread does't seem to attain length less than natural length. Expected constraint should be imposed on upper limit only, means whenever length of threads have tendency to attain more length it should apply necessary impulses to maintain length, else no impulses at all.
what should i do to get this behaviour.
Regards..
Mahesh Kurmi

William
Site Admin
Posts: 345
Joined: Sat Feb 06, 2010 10:23 pm

Re: Pulley Joint Behaviour

Postby William » Mon Sep 30, 2013 10:05 am

Yes. As of right now the PulleyJoint acts like a fixed length DistanceJoint. So when one rope is shortened the other is elongated. I have added some code to allow a "slack" feature that will be in the next release (this week is my plan):

Code: Select all

PulleyJoint pj = // create it as normal
// the pulley joint will work as it does today

// to make it have slack, you'll call this method
pj.setSlackEnabled(true);


William

maheshkurmi
Posts: 60
Joined: Tue Mar 27, 2012 7:20 am
Location: India
Contact:

Re: Pulley Joint Behaviour

Postby maheshkurmi » Mon Sep 30, 2013 12:26 pm

Thanks for the reply. Waiting for update eagerly..

William
Site Admin
Posts: 345
Joined: Sat Feb 06, 2010 10:23 pm

Re: Pulley Joint Behaviour

Postby William » Tue Oct 01, 2013 8:00 am

See the beta version I attached on this post in the mean time.

William
Site Admin
Posts: 345
Joined: Sat Feb 06, 2010 10:23 pm

Re: Pulley Joint Behaviour

Postby William » Sun Oct 06, 2013 2:46 pm

This has been added in dyn4j v3.1.6 via the PulleyJoint.setSlackEnabled mehod.

William

lisaa
Posts: 1
Joined: Sun Nov 23, 2014 11:44 pm

Re: Pulley Joint Behaviour

Postby lisaa » Sun Nov 23, 2014 11:45 pm

Thanks for adding :D
We provide guarantee to pass 70-411 braindumps and ARM, you can also get best quality Stanford University along with Youtube for your guaranteed success.


Return to “Bugs, Enhancements, Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest