Crank and Piston Box2D Flash Physics Simulation: Create Revolute Joint between Crank and Shaft
In previous Box2D tutorial, a revolute Joint has been created between the World and Crank. Let's connect the Crank and the Shaft together. In this example, we use Revolute Joint to connect the Crank and the Shaft.
Flash Box2D Physics Simulation Tutorial Content
STEP 4: Create a Revolute Joint for the Crank and the Shaft
We will connect the three bodies (Crank, Shaft and Piston) one by one. In this tutorial, we use Revolute Joint to join the Crank and the Shaft to-gether.
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 Flash ActionScript Physics Animation tutorial shows how to create prismatic joint. Step 4: create a Revolute Joint between the Crank and the Shaft.