cannon_physics 0.0.3 copy "cannon_physics: ^0.0.3" to clipboard
cannon_physics: ^0.0.3 copied to clipboard

A 3D physics engine for dart (based on cannon.js) that allows users to add physics support to their 3D projects.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add cannon_physics

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  cannon_physics: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:cannon_physics/cannon_physics.dart';
4
likes
150
points
151
downloads

Publisher

unverified uploader

Weekly Downloads

A 3D physics engine for dart (based on cannon.js) that allows users to add physics support to their 3D projects.

Repository (GitHub)
View/report issues

Topics

#physics #games #physics3d #flutter3d #model3d

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logger, vector_math

More

Packages that depend on cannon_physics