Home > alchemy, flex > ODE (Open Dynamic Engine) for Flash

ODE (Open Dynamic Engine) for Flash

I’ve took Alchemy for a test and decided to compile ODE (Open Dynamic Engine). Just to add yet another physics engine to the Flash World. It was a hell of a ride but I finally got to produce some bouncing balls :) . For a still unknown reason some as 3d libraries have been very slow to render 6 translucent walls and 2 balls. Papervision3D seems to move quite decent.

You can download the ode sources from here. To recompile them do (you need to have the Alchemy  environment turned on):

./configure

make clean

cd OPCODE

make

cd ../ode/src

make

cd ../swc

make

And here are the bouncing balls:

Update:

The Source view for the bouncing balls seems to be broken. So if you want to see the source for my little test project here it is.

Categories: alchemy, flex Tags:
  1. March 5th, 2009 at 10:20 | #1

    awesome job, a little bit of camera movement would have helped more to understand what was happening at first, but i guess it would have slowed down the FPS

  2. Djem
    March 21st, 2009 at 15:07 | #2

    Impressive,

    This engine is also used in world of goo.

    I think this is the best engine.

  3. June 5th, 2009 at 12:51 | #3

    Impressive stuff! I will give it a spin in the near future. Nice work!

  4. October 14th, 2009 at 11:20 | #4

    Very impressive.

    I tried to recompile the library (I added the triMesh geometry and wanted to test it), but encountered problems with ./configure step

    The configure process hangs on this step (I\\\’m using Alchemy on MacOs Leopard)
    checking whether the C compiler works… /Users/piotr/flex_sdk_340/bin/adl _sb_{SOME_NUMBER}/app.xml 2> /tmp/adl.trace & echo $

    I\\\’m sure my Alchemy environment is configured correctly – I followed the instructions
    http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started
    and managed to compile the \\"stringecho\\" example successfully.

    Any ideas why the compilation of \\"ode-flash\\" fails?

  1. No trackbacks yet.