Box2D AS3 Create Distant Joint Tutorial: Create Distance Joint with Anchor at Upper Box
In this Box2D AS3 Physics simulation tutorial, we set the upper blue box as the anchor point.
Flash Box2D Physics Simulation Tutorial Content
STEP 5: Create Distance Joint with Upper Box as Anchor Point
In this tutorial of Box2D AS3 Physics simulation, we use the upper blue box as the anchor point and let the lower Danger box falling down. See how the distance between two points (center points) on two bodies keep constant. The motion of the Danger box is much more gentle because it only fall down a little and gather less momentum.
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 6: Upper box as the anchor point.