josephg / Chipmunk-js

Port of slembcke/Chipmunk-Physics to Javascript
http://dl.dropbox.com/u/2494815/demo/Joints.html
536 stars 59 forks source link

body vel/angVel API compatible with Chipmunk C #12

Closed ricardoquesada closed 11 years ago

ricardoquesada commented 11 years ago

setVelocity -> setVel setAngularVelocity -> setAngVel Added: getAngVel

Updates buoyancy test too

ricardoquesada commented 11 years ago

@josephg: Should we use setVel / setAngVel / getAngVel ? or should we continue using setVelocity / setAngularVelocity ?

For the JS Bindings that I am writing for Chipmunk, I want to 100% compatible with Chipmunk-JS. And for the moment, the only API's that are different are these ones.

Thanks.

josephg commented 11 years ago

Yeah use setVel and friends. Sorry - I missed this pull request.