This project has moved and is read-only. For the latest updates, please go here.

Friction with Circles? FP3

Sep 11, 2010 at 5:06 PM
Edited Sep 11, 2010 at 5:07 PM

Im doing this...

FixtureFactory.CreateEdge(Globals.World, new Vector2(-60.0f, -16.9f), new Vector2(5340.0f, -16.9f), 1);

Fixture ball = FixtureFactory.CreateCircle(Globals.World, 0.6f, 1.0f, cannonShootPoint);        

ball .Body.BodyType = BodyType.Dynamic;                
ball .Restitution = 0.25f;        
ball .Friction = 0.75f;        
ball .Body.Mass = 5;

But the ball just rolls and rolls as if there is no friction, i.e. it never stops? Am i missing something?

Sep 11, 2010 at 5:15 PM

never mind... found the answer here: