Hey Ruskul thanks for the reply.
I get this error when i try to run a project with two physics bodies with prismatic joint attached .
Uncaught ReferenceError:b2prismaticJointDef is not defined
I follow exactly your instructions . Is there anyway i can fix this?
Cheers
Never Mind i fixed it.
Just in case anyone is interest . in the runtime .js
at line with
// Import Box2D names
var b2BodyDef = Box2D.b2BodyDef,
b2Body = Box2D.b2Body,
b2FixtureDef = Box2D.b2FixtureDef,
b2Fixture = Box2D.b2Fixture,
b2World = Box2D.b2World,
b2PolygonShape = Box2D.b2PolygonShape,
b2CircleShape = Box2D.b2CircleShape,
b2DistanceJointDef = Box2D.b2DistanceJointDef,
b2PrismaticJointDef = Box2D.b2PrismaticJointDef,
b2RevoluteJointDef = Box2D.b2RevoluteJointDef;
and you are ready to go.
Again Ruskul realy thanks for that !