slembcke / Chipmunk2D

A fast and lightweight 2D game physics library.
http://chipmunk2d.net
MIT License
2.22k stars 352 forks source link

Fix impulse of cpDampedRotarySpring #248 #249

Open viblo opened 6 months ago

viblo commented 6 months ago

Fixes the calculation of impulse for the cpDampedRotarySpring, which before this fix used the wrong sign to add the "damping" impulse to the total impulse.