AS3 FOAM 2D Physics Engine

A new AS3 physics engine has been released from generalrelativity and adds itself to the block. It is in early alpha but this is looking pretty good so far. APE, the highly anticipated Motor Physics from polygonal labs and now FOAM, so many wonderful physics toys to build games with!

Current Features:

  • Rigid body simulation
    • Arbitrary convex polygons
    • Circles
    • Cubic Bezier curves
    • Lines
  • Constraints
    • Springs
    • Bungees
  • Easily swappable numerical integrators
    • RK4
    • Euler
    • Midpoint
  • Separation Axis Theorem based collision detection
  • Modular force generation

Source

Demos:

SVN:

  • http://foam-as3.googlecode.com/svn/trunk/

Here’s a list of classes in the repo:

AABR
AABRDetector
AbstractSolver
AxisProjection
BezierDetector
Bungee
Circle
CircleAxisProjection
CircleCircleDetector
CirclePolygonDetector
CollisionResolver
CollisionType
Contact
CubicBezierCurve
Euler
Foam
FOAM_AS3
Friction
GravitationalForceGenerator
Gravity
IBody
ICoarseCollisionDetector
ICollisionFactory
IFineCollisionDetector
IFoamRenderer
IForceGenerator
IODE
IODESolver
ISimulatable
KeyDrivenTorqueGenerator
MathUtil
MouseSpring
PerpetualFall
PhysicsEngine
PointPolygonDetector
PolygonPolygonDetector
Renderable
RenderingUtil
RigidBody
RigidBodyBungee
RigidBodySpring
RK4
RotationMatrix
SATCollisionFactory
ShapeUtil
SimpleFoamRenderer
SimpleForceGenerator
SimpleMap
SimpleOrbit
SimpleParticle
Simplification
Spring
Vector
ZeroGravityToyChest

game on! Thanks Drew!


No Responses to “AS3 FOAM 2D Physics Engine”

  1. cool!

  2. Hey moses, yes now we just need some 3d physics engines! hehe processors may melt but fun will be had by all. Maybe 3d physics engines are a Flash 10 thing due to performance needed but that is only a year+ away.

  3. [...] Posts Fluid Flash LayoutsAS3 3D Rooms and First Papervision3D FPS Engine by Paul SpitzerAS3 FOAM 2D Physics EngineSandy3D and Red5 Server Attack! – Sandy 3.0 Final Released for AS2 and AS3AS3 Mouse Events, No More [...]

  4. [...] Kits for Flash, Flex, After Effects, Javascript and I add Director and haXeFluid Flash LayoutsAS3 FOAM 2D Physics EngineAS3 Amazing Isometric 3D Alternativa Game Engine DemoAS3 3D Rooms and First Papervision3D FPS Engine [...]

Your Ad Here
Your Ad Here


*drawlogic – interactive and game development technologies for the web – flash, flex, unity3d, silverlight, javascript [ draw.logic ] is proudly powered by WordPress
Entries (RSS) and Comments (RSS).
Your Ad Here Your Ad Here