コード例 #1
0
 public static WeldJoint createWeldJoint(this Body body, Body bodyB, Vector2 anchorA, Vector2 anchorB, bool useWorldCoordinates = false)
 {
     return(JointFactory.createWeldJoint(body.world, body, bodyB, FSConvert.displayToSim * anchorA, FSConvert.displayToSim * anchorB, useWorldCoordinates));
 }