Flash AS3 Tutorials Center | Interesting Flash Animation Tutorials | Valuing Flash Animation Tutorials | Flash ActionScript and Animation Home

AS3 Beginner Tutorials | AS3 Basic Lessons | AS3 Valuing Courses | AS3 Components Tutorials | AS3 and PHP Interaction Tutorials
AS3 Practical Tutorials | AS3 Animation Techniques | AS3 Transition Effects Tutorials | AS3 Download Upload Files | AS3 Particle Systems
Communication Between Flash Movies with AS3 | AS3 and JavaScript interaction | AS3 Matrix Transformation | AS3 Physics Simulation Tutorials

Car Simulation (Animation) with Box2D Physics Engine

In this series of flash car simulation (animation), we will do a running car Physics simulation using Box2D Revolute Joints. The final car animation is shown as below.

Please update flash player to view this Flash ActionScript tutorial!

Flash Box2D Physics Simulation Tutorial Content

Before starting the flash car animation with Box2D actionscript engine, this is better to plan how to do the car animation. Here's the steps in creating the car simulation (animation):


1. Draw the layout of all bodies (Car body, Rear Tire, Front Tire and the Ground) on the stage and check the location of each body.

2. Create all bodies.

3. Create Revolute Joint between Car body and the Rear Tire. Also add a power drive to this Revolute Joint so that the car can be driven. Therefore this is a Rear Tire drive car.

4. Create Revolute Joint between Car body and the Front Tire.

5. Test driving the car.

Okay! let's get started with the car simulation with Box2D Physics Engine.


This Box2D Actionscript tutorial shows how to create a running car simulation.