Box2D AS3 Create Distant Joint Tutorial: Upper Box Falling Down
To decide how the Distance Joint works in the Box2D AS3 Physics simulation, let's freeze the lower "Danger" box and test falingl down the upper blue box.
Flash Box2D Physics Simulation Tutorial Content
STEP 3: Test Falling Upper Blue Box and Keep Lower Box Freeze
Since the two boxes are already in place and keep at a distance, this is good to test falling them one by one while keeping the other static. In this example, the lower "Danger" box will be kept freezing and the upper blue box will be falling down.
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.
This Box2D Actionscript Flash Physics animation tutorial shows how to create distant joints physics simulation. Step 3: Upper body falling down.