public MouseJointDef() { JointType = JointType.MouseJoint; Target.Set(0.0f, 0.0f); MaxForce = 0.0f; Stiffness = 5.0f; Damping = 0.7f; }
public WeldJointDef() { JointType = JointType.WeldJoint; LocalAnchorA.Set(0.0f, 0.0f); LocalAnchorB.Set(0.0f, 0.0f); ReferenceAngle = 0.0f; Stiffness = 0.0f; Damping = 0.0f; }
public DistanceJointDef() { JointType = JointType.DistanceJoint; LocalAnchorA.Set(0.0f, 0.0f); LocalAnchorB.Set(0.0f, 0.0f); MinLength = 0.0f; MaxLength = Settings.MaxFloat; Length = 1.0f; Stiffness = 0.0f; Damping = 0.0f; }
public RevoluteJointDef() { JointType = JointType.RevoluteJoint; LocalAnchorA.Set(0.0f, 0.0f); LocalAnchorB.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() { JointType = JointType.PrismaticJoint; LocalAnchorA.SetZero(); LocalAnchorB.SetZero(); LocalAxisA.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 WheelJointDef() { JointType = JointType.WheelJoint; LocalAnchorA.SetZero(); LocalAnchorB.SetZero(); LocalAxisA.Set(1.0f, 0.0f); EnableLimit = false; LowerTranslation = 0.0f; UpperTranslation = 0.0f; EnableMotor = false; MaxMotorTorque = 0.0f; MotorSpeed = 0.0f; Stiffness = 0.0f; Damping = 0.0f; }
public PulleyJointDef() { JointType = JointType.PulleyJoint; GroundAnchorA.Set(-1.0f, 1.0f); GroundAnchorB.Set(1.0f, 1.0f); LocalAnchorA.Set(-1.0f, 0.0f); LocalAnchorB.Set(1.0f, 0.0f); LengthA = 0.0f; LengthB = 0.0f; Ratio = 1.0f; CollideConnected = true; }