question: public void bob ( MowzieModelRenderer box , float speed , float degree , boolean bounce , float f , float f1 ) { float bob = ( float ) ( Math . sin ( f * speed ) * f1 * degree - f1 * degree ) ; if ( bounce ) bob = ( float ) - Math . abs ( ( Math . sin ( f * speed ) * f1 * degree ) ) ; box . rotationPointY += bob ; }
target:  Moves a box up and down (rotationPointY). Useful for bodies. <p/> Note: Just keep f and f1 from the setRotationAngles() method.