schteppe / p2.js

JavaScript 2D physics library
Other
2.64k stars 330 forks source link

equation.maxBias & minBias #213

Closed schteppe closed 8 years ago

schteppe commented 8 years ago

Being able to turn off bias (violation) of constraints and equations would make it possible to construct custom friction. Needed to implement https://github.com/schteppe/p2.js/issues/61

schteppe commented 8 years ago

https://github.com/schteppe/p2.js/commit/74a31518030d4ca4a7bb5dc8b8c2359610505bca