I am continually getting this error:
1067: Implicit coercion of a value of type Number to an unrelated type Box2D.Collision.Shapes:b2ShapeDef.
when trying to create a circle shape, here is the code:
I have no idea what i'm doing wrong, every tutorial I look at uses this and it works, how do I get a ball rolling?
1067: Implicit coercion of a value of type Number to an unrelated type Box2D.Collision.Shapes:b2ShapeDef.
when trying to create a circle shape, here is the code:
Code: Select all
var wheelShape:b2CircleShape = new b2CircleShape(12/RATIO);
I have no idea what i'm doing wrong, every tutorial I look at uses this and it works, how do I get a ball rolling?