Is there an updated version for the b2SVG class that will work for the 2.1a version of box2d?
I was able to get b2SVG to work when I was using an older version of box2d.. but after downloading and trying the latest version (2.1a), I can't seem to get b2SVG to cooperate. I am using the b2SVG from the "TestBed" folder by the way. I get the following errors when trying to publish:
I assume this is because of the changes of how some things work in the 2.1a version? To begin with, the b2Body class in the 2.1a version does not have a "CreateShape" method..
Or am I the only one not getting this to work? Am I missing out on something?
I need some help...
Thanks.
I was able to get b2SVG to work when I was using an older version of box2d.. but after downloading and trying the latest version (2.1a), I can't seem to get b2SVG to cooperate. I am using the b2SVG from the "TestBed" folder by the way. I get the following errors when trying to publish:
Code:
.....b2SVG.as, Line 40 1119: Access of possibly undefined property friction through a reference with static type Box2D.Collision.Shapes:b2EdgeChainDef.
.....b2SVG.as, Line 41 1119: Access of possibly undefined property restitution through a reference with static type Box2D.Collision.Shapes:b2EdgeChainDef.
.....b2SVG.as, Line 93 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 111 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 124 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 22 1172: Definition Box2D.Collision.Shapes:b2ShapeDef could not be found.
.....b2SVG.as, Line 41 1119: Access of possibly undefined property restitution through a reference with static type Box2D.Collision.Shapes:b2EdgeChainDef.
.....b2SVG.as, Line 93 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 111 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 124 1061: Call to a possibly undefined method CreateShape through a reference with static type Box2D.Dynamics:b2Body.
.....b2SVG.as, Line 22 1172: Definition Box2D.Collision.Shapes:b2ShapeDef could not be found.
I assume this is because of the changes of how some things work in the 2.1a version? To begin with, the b2Body class in the 2.1a version does not have a "CreateShape" method..
Or am I the only one not getting this to work? Am I missing out on something?
I need some help...
Thanks.