flutter_scene_rapier 0.3.0 copy "flutter_scene_rapier: ^0.3.0" to clipboard
flutter_scene_rapier: ^0.3.0 copied to clipboard

Rapier 3D physics backend for flutter_scene. Implements the scene package's physics simulation contract against Rapier via FFI.

0.3.0 #

  • Requires flutter_scene 0.20.0.
  • BREAKING: implements the scene package's PhysicsSimulation contract and no longer depends on Flutter, so the simulation runs headless. Drive it with the generic PhysicsWorld(RapierWorld()), RigidBody, and Collider from flutter_scene; the backend-specific Rapier* component classes are removed.
  • No native changes; reuses the 0.1.0 prebuilt binaries and wasm.

0.2.2 #

  • Requires flutter_scene 0.19.0.
  • No native changes; this release reuses the 0.1.0 prebuilt binaries and wasm.

0.2.1 #

  • Requires flutter_scene 0.18.0.
  • No native changes; this release reuses the 0.1.0 prebuilt binaries and wasm.

0.2.0 #

  • Requires flutter_scene 0.17.0.
  • No native changes; this release reuses the 0.1.0 prebuilt binaries and wasm.

0.1.0 #

First public release. A Rapier 3D physics backend for flutter_scene, implementing the abstract physics contract added in flutter_scene 0.16.0.

  • Rigid bodies (RapierRigidBody): fixed, kinematic, and dynamic, with mass, damping, axis locks, velocities, impulses/forces, and runtime body type changes.
  • Colliders (RapierCollider) for box, sphere, capsule, cylinder, convex hull, triangle mesh, height field, and compound shapes, with friction, restitution, collision groups, and sensor (trigger) support.
  • Joints: fixed, spherical, revolute, prismatic, and a fully configurable 6-DOF generic joint, with limits and motors.
  • A kinematic character controller (RapierKinematicCharacterController.move) with move-and-slide, slope handling, autostep, snap-to-ground, and optional pushing of dynamic bodies.
  • Scene queries: raycast, shape cast, and sphere/box overlap, plus a collision/trigger event stream.
  • Fixed-timestep stepping with transform interpolation, driven automatically by the scene.
  • Precompiled native libraries downloaded per release (no Rust toolchain needed) with a source-build fallback, and a WebAssembly backend for the web.
2
likes
150
points
265
downloads

Documentation

API reference

Publisher

verified publisherbdero.dev

Weekly Downloads

Rapier 3D physics backend for flutter_scene. Implements the scene package's physics simulation contract against Rapier via FFI.

Repository (GitHub)
View/report issues

Topics

#physics #rapier #gamedev #collision

License

MIT (license)

Dependencies

code_assets, crypto, ffi, flutter, hooks, scene, vector_math

More

Packages that depend on flutter_scene_rapier