/ Published in: JavaScript
URL: http://lancespellman.com/2011/12/20/cool-box2d-stuff-with-appcelerator-titanium/
Now we tilt the floor to be able to let objects bounce down the "hill"
Expand |
Embed | Plain Text
var b = world.addBody(floor, { density:12.0, friction:0.3, restitution:0.4, type:'static' }); b.setAngle(85);
You need to login to post a comment.
