p2

A Dart port of p2.js (v0.6) physics engine.

This is made for play_phaser game engine.

The rendering system used in Demo is the play_pixi canvas/WebGL library.

The parameter setting UI can be found in datgui.

Demos

Implemented: Car Circle container Collision tests Compound objects Concave objects Constraints DistanceConstraint Fixed rotation Friction Gear constraint * Heightfield

Not yet implemented: Island solver Kinematic body Lock constraint Piston Prismatic constraint Ragdoll Sensor Restitution Sleep Springs Surface velocity Suspension * Tearable constraints

Libraries

p2
poly_decomp