Liquidfun physics library port for haxe
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
callbacks
collision
common
dynamics
particle
pooling
README.md

README.md

LiquidFunx

LiquidFun physics library port for haxe (http://google.github.io/liquidfun/)

Port based on the jbox2d java port by Daniel Murphy using Box2D 2.3.0 and LiquidFun 0.9 (for more info visit: http://www.jbox2d.org/).

Compiles for Flash, HTML5 and C++ targets (haven't tested any other targets). Also runs in Android and iOS but is extremely slow, unfortunetly. Needs optimization to allow for better performance in Flash but runs fine in cpp.

Features (as taken from from jbox2d)

Rigid body physics
Stable stacking
Gravity
Fast persistent contact solver
Dynamic tree broadphase
Sliding friction
Boxes, circles, edges and polygons
Several joint types: distance, revolute, prismatic, pulley, gear, mouse
Motors
Sleeping (removes motionless bodies from simulation until touched)
Continuous collision detection (accurate solving of fast bodies)
Ray casts
Sensors
Dynamic, Kinematic, and Static bodies
Liquid particle simulation from Google's LiquidFun

Feel free to contribute.

Check the examples here: https://github.com/JohnSword/liquidfunx-examples (not all of them are working at the moment)