ofxBox2dCircle::getRotation() has an abrupt jump once per rotation as an object
rotates through 360°. As a workaround, I did this:
float getRotation() {
if(body != NULL) {
return ofRadToDeg(body->GetAngle());
}
else
return 0.0;
}
Thanks,
Danny Rosenberg
META/DMA
Original issue reported on code.google.com by cdanny...@gmail.com on 12 Jul 2010 at 5:12
Original issue reported on code.google.com by
cdanny...@gmail.com
on 12 Jul 2010 at 5:12