dart-box2d icon indicating copy to clipboard operation
dart-box2d copied to clipboard

Box2D for Dart

Results 11 dart-box2d issues
Sort by recently updated
recently updated
newest added

when run under browser, it should be a demo. when run on command line, it should be a benchmark. requires some sort of conditional compilation, or at least the sharing...

enhancement

Instead of implementing our own `BenchmarkRunner` shouldn't we be using the [`benchmark_harness`](https://www.dartlang.org/articles/benchmarking/) library?

enhancement

Using http://api.dartlang.org/json/JSON.html we should be able to write out a world to json and read it back in without constructing it body by body. This can open the door to...

We should support ChainShape and EdgeShape for convenience

enhancement

The latest Box2D (and JBox2D) have a greater range of joint types. We should port the extra types to Dart. These include: FrictionJoint GearJoint MouseJoint PrismaticJoint PulleyJoint WeldJoint WheelJoint RopeJoint...

World does not even check if the bit is active.

bug

Per original author's TODO, QueryCallback should not be an interface but a typedef. This also applies to TreeCallback.

enhancement

ContactSolver.solveVelocityConstraints() is consistently top of the list when benchmarks are performance analyzed. Unsurprisingly it's also huge and suffers multiple deopt-opt hits for both dart and JS VMs.

Currently, benchmarks exercise behaviour but do not check whether the calculations are correct (consistent with previous runs). Ideally, the benchmarks might be switched to unit tests but a start would...

enhancement