Hi I've been playing with box2d for about a week now. Using Eclipse for development. I've copied and hacked up a test bed class (Spring) which runs silky smooth when run as an app, but slow moving object motion is jerky when run under the applet viewer. This condition holds true when the applet runs on browsers (safari & ff).
I played a tiny amount with iterations, but this doesn't effect things (and probably should not). A simple perf test on the frame() method runs the same under app and applet conditions.
I am applying forces directly the same way as the Spring class, in frame().
I notice when I drag a body motion is smooth as well as when objects are moving quickly.
I played a tiny amount with iterations, but this doesn't effect things (and probably should not). A simple perf test on the frame() method runs the same under app and applet conditions.
I am applying forces directly the same way as the Spring class, in frame().
I notice when I drag a body motion is smooth as well as when objects are moving quickly.