Return to Snippet

Revision: 54372
at December 21, 2011 18:15 by lspellman


Initial Code
var b = world.addBody(floor, {
	density:12.0,
	friction:0.3,
	restitution:0.4,
	type:'static'
});

b.setAngle(85);

Initial URL
http://lancespellman.com/2011/12/20/cool-box2d-stuff-with-appcelerator-titanium/

Initial Description
Now we tilt the floor to be able to let objects bounce down the "hill"

Initial Title
Titanium Appcelerator Box2d simple example part 3

Initial Tags


Initial Language
JavaScript