Browsing articles tagged with " game programming"
Oct
19
2011

Make a racing car using Box2d in javascript

Box2d is a physics 2d simulation library. Here we use the Box2d Javascript port from http://code.google.com/p/box2dweb/ The car shown here has 5 parts : 1. Body 2. 2 Front wheels connected to body using revolute joints. 3. 2 Rear wheels connected to body using prismatic joints with limits Watch Demo here : Demo Click first , and then use arrow keys to move the car Please upgrade your browser To move the car , force [...]