Build 10 classic Flash games and learn game development along the way with this ultra-fast paced game development course.

If you love this blog, this is the book for you.

Buy the book

Get the source code of 12 commercial Flash games, which have been loaded more than 50 million times!

Learn from real world successful examples.

Get it now

Box2D for Flash Games teaches you how to make Flash physics games from scratch with the most advanced features.

Create the new Flash game smashing hit.

Buy the book

Quick 3D physics with Away3D 4.1 and Bullet Physics Engine

I really like when 3D and physics are easy to use, because game developers can delight us with new and original creations.

Two years ago I also made a 3D physics game called CubesOut, which was also licensed under the Pod Training name for the Mass Effect 3 official site.

Back to our days, here I am to show you probably the first tutorial you can find online about Away3D 4.1 and its integrated Bullet Physics Engine.

Everyting is commented in the code, which will allow you to create random cubes with the mouse. I know it’s quite simple but we are starting from the very beginning.

Here is the code:

And this is the result:

Click with the mouse to generate random cubes.

To get all required libraries, you have to download Away3D 4.1.0 Alpha and awayphysics.

Download the source code with all required libraries.

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 4.67 out of 5)
Loading ... Loading ...
Flash Templates provided by Template Monster are pre-made web design products developed using Flash technology.
They can be easily customized to meet the unique requirements of your project.
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 4 comments

  1. Aymeric

    on March 7, 2013 at 8:20 pm

    The Citrus Engine (http://citrusengine.com) supports Away3D and AwayPhysics! Take a look there for a small demo http://www.aymericlamboley.fr/blog/playing-with-cadet-editor-and-awayphysics/

  2. Quick 3D physics with Away3D 4.1 and Bullet Physics Engine – Emanuele Feronato | eaflash

    on March 8, 2013 at 10:46 am

    [...] on http://www.emanueleferonato.com Share this:TwitterFacebookLike this:Like [...]

  3. specter

    on March 8, 2013 at 6:33 pm

    hi
    i want to simulate 4 cable that can to plug in sockets with box2d
    help please
    make new tutorial tnx

  4. Francisco

    on May 9, 2013 at 2:16 pm

    Interesting, I’ve tried to use AwayPhysics, but it did not work well in mobile device (it results in low FPS, both at smartphone and tablet).

    You tested it on mobile devices? It has a good performance? I’m curious because this is an issue in my project. Tks