Position Correction

Discuss new features and future development.

Position Correction

Postby bjosk » Sun May 10, 2009 5:04 am


According to this post: http://www.gphysics.com/archives/35 there is a position correction algorithm in place in the box2d engine. I haven't had a chance to try it out yet but I'm curious if there are any plans to move/recreate such a feature for chipmunk? I imagine it would considerably improve the behavior of "chained" constraints.
Posts: 1
Joined: Sun May 10, 2009 4:49 am

Re: Position Correction

Postby slembcke » Sun May 10, 2009 2:26 pm

Chipmunk already does this, otherwise the joints would fall apart eventually.

4.1.x used the pseudo-velocity method but I switched to Baumgarte in the trunk code as it is much simpler to implement new joint types and allowed me to implement some of the other new joint features such as the force and correction speed limits.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
Site Admin
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Return to Features/Development

Who is online

Users browsing this forum: No registered users and 1 guest