示例#1
0
 public static extern IntPtr CreatePulleyJoint(IntPtr w, PulleyJointDef def);
示例#2
0
 public static extern IntPtr CreatePulleyJoint( IntPtr w, PulleyJointDef def );
示例#3
0
 // 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 );
 }