I have a circle created in this code (No referencing here, just what you need to see.):
[CODE]
var ballSd = new b2CircleDef();
ballSd.density = 0.1;
ballSd.radius = 12;
ballSd.restitution = 0.5;
ballSd.friction = 1;
ballSd.userData = 'player';
var ballBd = new b2BodyDef();
ballBd.linearDamping = .03;
ballBd.allowSleep = false;
ballBd.AddShape(ballSd);
ballBd.position.Set(20,0);
player.object = world.CreateBody(ballBd);
}
[/CODE]
I want to know what property can give this a bolded edge, or how to do it. And by that I mean, like the kind of edges on the box2d logo.
[URL="http://code.google.com/p/box2dweb/source/browse/trunk/Box2D.js?r=29"]Assuming I am looking at the right thing, [/URL] you can ctrl+f in here for LineThickness and it shows a lot of different parameters and things. Not really sure about what you are asking though so sorry if it didn't help!
Sorry, you need to Log In to post a reply to this thread.