
Box2D - 2D Physics Library

use Box2D;

Box2D is a package of Perl modules that provide an object oriented interface to the Box2D Physics Engine for Perl 5.

Currently this module is a 1 to 1 binding. This is still a WIP and so far here are the completed class:
b2AABB
b2Body
b2BodyDef
b2CircleShape
b2Contact
b2ContactImpulse
b2ContactListener
b2DistanceJoint
b2DistanceJointDef
b2Filter
b2Fixture
b2FixtureDef
b2FrictionJoint
b2FrictionJointDef
b2GearJoint
b2GearJointDef
b2Joint
b2JointDef
b2LineJoint
b2LineJointDef
b2Manifold
b2MassData
b2Mat22
b2MouseJoint
b2MouseJointDef
b2PolygonShape
b2PrismaticJoint
b2PrismaticJointDef
b2PulleyJoint
b2PulleyJointDef
b2RayCastCallback
b2RayCastInput
b2RayCastOutput
b2RevoluteJoint
b2RevoluteJointDef
b2Shape
b2Transform
b2Vec2
b2WeldJoint
b2WeldJointDef
b2World
Have a look at the examples folder for useage examples.
The Box2D Manual and Documentation are also useful:
http://www.box2d.org/documentation.html
Documentation
Examples
Adding more bindings
Inline::C Support
To contribute to this module please contact us on github:
https://github.com/PerlGameDev/Box2D-perl

Report bugs at GitHub Issues


Copyright 2011 Box2D Authors as listed above, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.