Box2D AS3 Flash Car Animation: Draw Layout of Bodies
Like other Box2D ActionScript physics simulation tutorials, the first step is to draw layout of bodies on the physics world.
Flash Box2D Physics Simulation Tutorial Content
STEP 1: Draw Layout of Bodies on Stage
To do this kind of Flash Physics simulation, I always draw the layout of all bodies (car body, rear tire, front tire and the ground) on the stage. This allows me to see their locations and relationship more easily.
Flash ActionScript Codes:
Almost all flash source codes on this website are free to download. In order to maintain our website, which includes the developement and maintenance of tutorials, we would appreciate your kind contribution by buying some source files at very small fee. Once we get reasonable amount of incentives from contribution or Advertisement sponsors, the source codes will be released for free to download.
Download Flash Source File:
Awaiting to be released.
Remarks:
This Box2D Actionscript tutorial shows how to create a running car simulation. Step 1: draw layout of bodies.