Linkvent Calendar, Day 14: Box2D Top-Down Car Demo
On December 14, 2010,
in Cocos2D Linkvent Calendar,
by Steffen Itterheim
Jeff Hodnett has ported a popular Flash ActionScript Box2D Car demo to Cocos2D:
The car uses two revolute joints for turning the car and two prismatic joints to add driving force (torque?) to the car. The Xcode project is available for download and the virtual thumbstick controlling the car is provided by the popular SneakyInput library.
Tagged with: box2d • cocos2d • driving force • Jeff Hodnett • joints • linkvent calendar • prismatic joints • revolute joints • SneakyInput • thumbstick • Xcode