box3d 0.1.0 copy "box3d: ^0.1.0" to clipboard
box3d: ^0.1.0 copied to clipboard

Dart FFI bindings for the box3d 3D rigid body physics engine.

0.1.0 #

  • First functional release. Vendors box3d (pinned to its v0.1.0) and builds it, plus a thin C shim, from source through a native-assets build hook, so no separate toolchain is needed. Exposes an idiomatic Dart API: worlds, rigid bodies, the sphere/box/capsule/cylinder/convex-hull/triangle-mesh/ height-field shapes, weld/revolute/prismatic/spherical/distance joints, contact and sensor events, and raycast/overlap/shape-cast queries. A web (WebAssembly) backend is included: build the module with tool/build_wasm.sh and serve it during development with --dart-define=BOX3D_WASM_URL=

0.0.1 #

  • Initial release. These bindings are in active development; this release reserves the package name and establishes the package structure. FFI bindings and native binaries are not yet included.
1
likes
150
points
380
downloads

Documentation

API reference

Publisher

verified publisherbdero.dev

Weekly Downloads

Dart FFI bindings for the box3d 3D rigid body physics engine.

Repository (GitHub)
View/report issues

Topics

#physics #box3d #ffi #gamedev #collision

License

MIT (license)

Dependencies

crypto, ffi, hooks, native_toolchain_c, vector_math

More

Packages that depend on box3d