public static extern IntPtr CreatePulleyJoint(IntPtr w, PulleyJointDef def);
public static extern IntPtr CreatePulleyJoint( IntPtr w, PulleyJointDef def );
// Use this for initialization protected override IntPtr Init() { PulleyJointDef jd = new PulleyJointDef(other.body, body.body); jd.Initialize(other.body,body.body, groundAnchorA, groundAnchorB, anchorA, anchorB, ratio); return API.CreatePulleyJoint( B2DWorld.instance.world, jd ); }