slembcke / Chipmunk2D

A fast and lightweight 2D game physics library.

Home Page:http://chipmunk2d.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a reason why maxForce doesnt apply to DampedSpring and DampedRotarySpring?

viblo opened this issue · comments

I see that there's a possibility to set a force/torque calculating function on them, but it can still be confusing that the maxForce property doesnt apply when it works for everything else. From the looks of it a simple clamp in the default force function would do the trick? Is it to save a small amount of performance that its not there or is there some other reason?

A user of Pymunk reported this issue here since he wanted to use maxForce but couldnt: viblo/pymunk#241