box2d 0.4.0 copy "box2d: ^0.4.0" to clipboard
box2d: ^0.4.0 copied to clipboard

Dart 1 only

A Dart 2D physics engine

0.4.0 #

  • Breaking: Made package strong-mode compliant (with implicit-casts and implicit-dynamic off). This means many API points are now more strongly typed (num is now double). Fix errors by providing doubles where they are expected (1 will become 1.0 and num fraction = .5 will become double fraction = .5), and explicitly casting joints (world.createJoint(jointDef) as RevoluteJoint).
  • Pulled in optimizations and bug fixes from the original jbox2d project.
  • Made velocityThreshold mutable (as per jbox2d and other box2d implementations).

0.3.0 #

  • Updated to vector_math 2.0.0

0.2.0 #

  • Complete re-write. Many APIs have changed.
3
likes
20
pub points
32%
popularity

Publisher

unverified uploader

A Dart 2D physics engine

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

vector_math

More

Packages that depend on box2d