public DistanceJointDef() { Type = JointType.DistanceJoint; LocalAnchor1.Set(0.0f, 0.0f); LocalAnchor2.Set(0.0f, 0.0f); Length = 1.0f; FrequencyHz = 0.0f; DampingRatio = 0.0f; }
public RevoluteJointDef() { Type = JointType.RevoluteJoint; LocalAnchor1.Set(0.0f, 0.0f); LocalAnchor2.Set(0.0f, 0.0f); ReferenceAngle = 0.0f; LowerAngle = 0.0f; UpperAngle = 0.0f; MaxMotorTorque = 0.0f; MotorSpeed = 0.0f; EnableLimit = false; EnableMotor = false; }
public PrismaticJointDef() { Type = JointType.PrismaticJoint; LocalAnchor1.SetZero(); LocalAnchor2.SetZero(); LocalAxis1.Set(1.0f, 0.0f); ReferenceAngle = 0.0f; EnableLimit = false; LowerTranslation = 0.0f; UpperTranslation = 0.0f; EnableMotor = false; MaxMotorForce = 0.0f; MotorSpeed = 0.0f; }
public PulleyJointDef() { Type = JointType.PulleyJoint; GroundAnchor1.Set(-1.0f, 1.0f); GroundAnchor2.Set(1.0f, 1.0f); LocalAnchor1.Set(-1.0f, 0.0f); LocalAnchor2.Set(1.0f, 0.0f); Length1 = 0.0f; MaxLength1 = 0.0f; Length2 = 0.0f; MaxLength2 = 0.0f; Ratio = 1.0f; CollideConnected = true; }