Hi,
I have tried to swap out the Box2D implementation in Cocos2D for iPhone with the new SVN trunk which includes the ropeJoint.
It seems to have introduced a few issues like the
"b2PolygonShape.SetAsEdge" method not working anymore,
b2ManifoldPoint* cp = manifold->points + j; generating an error "unused variable 'cp'" in the b2ContactSolver file.
Also
Is there an easy way to implement the rope joint into an old Box2D build, or has the rest of the modules changed to accommodate the new joint?
Regards
i
I have tried to swap out the Box2D implementation in Cocos2D for iPhone with the new SVN trunk which includes the ropeJoint.
It seems to have introduced a few issues like the
"b2PolygonShape.SetAsEdge" method not working anymore,
b2ManifoldPoint* cp = manifold->points + j; generating an error "unused variable 'cp'" in the b2ContactSolver file.
Also
Code:
void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color& color)
{
switch (fixture->GetType()) // warning: enumeration value 'e_unknown' not handled in switch
{
switch (fixture->GetType()) // warning: enumeration value 'e_unknown' not handled in switch
Is there an easy way to implement the rope joint into an old Box2D build, or has the rest of the modules changed to accommodate the new joint?
Regards
i