Page 1 of 1

Flash - physics engine

PostPosted: May 25th, 2007, 7:35 pm
by PHY
This physics engine works with penetration detection of any object. If a penetration (intersection) is detected the simulation will run backwards and forwards in frame-time, untill a accurate collision time is found. After that, the last detected collision is resolved.

More features:
ConvexPolygons as Springmodels
Time-exact simulation resolve
Space-Subvision by grids

[flash width=512 height=512 loop=true]misc/flash/eng/physics-engine.swf[/flash]

PostPosted: March 1st, 2008, 1:46 am
by Resha Caner
I'm actually stale on proper terminology, but do you have an efficiency metric for your simulation? In other words, how close to real time could you get for a bouncing ball on a surface or something like that?

I did a lot of research on gear trains a few years back, and worked with a colleague where I laid out the physics of contact between gear teeth while he coded up the actual contact algorithm. I know he researched many different algorithms before picking one, but we never got anywhere close to running in real time.

Caner