Chipmunk Joint Friction?

BlitzMax Forums/Brucey's Modules/Chipmunk Joint Friction?

Chroma(Posted 2011) [#1]
When I put something on a Pivot it just spins. Is there a way to add friction to the joint itself so it stops spinning after a few secs?

Also, do you plan on updating Chipmunk to the latest version Brucey?


Chroma(Posted 2011) [#2]
Anyone?


Russell(Posted 2011) [#3]
It doesn't look like chipmunk natively supports joint friction per se, but it can probably be simulated. (Check their online docs at: http://files.slembcke.net/chipmunk/release/ChipmunkLatest-Docs/#cpConstraint )

Box2d, however, seems to: http://www.box2d.org/manual.html#_Toc258082974

Hope this helps!
Russell


Chroma(Posted 2011) [#4]
Probably as simple as doing something like AngularVelocity :* .98.