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

A Flutter plugin designed for three_dart and three_dart_jsm to allow users to add a simple physics engine to their 3D project.

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.1

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';
0
likes
140
pub points
20%
popularity

Publisher

unverified uploader

A Flutter plugin designed for three_dart and three_dart_jsm to allow users to add a simple physics engine to their 3D project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logger

More

Packages that depend on cannon_physics