bug: getSpin(), setSpin() units
Posted: Tue Sep 09, 2008 12:20 am
setSpin(10) sets spin to 10 radians
getSpin() returns 573 degrees
setSpin(getSpin()+10) sets spin to 583 radians
I'd vote for dealing only with radians here, and maybe
rename the functions get/setAngularVelocity so the API
maintains the convention of primarily mirroring box2d.
getSpin() returns 573 degrees
setSpin(getSpin()+10) sets spin to 583 radians
I'd vote for dealing only with radians here, and maybe
rename the functions get/setAngularVelocity so the API
maintains the convention of primarily mirroring box2d.