protected override void GetInfo(ref JointRecord info) { info.DescriptionType = "ballsocket"; info.AttachedBody0 = Body0; info.AttachedBody1 = Body1; info.MinLinearDof = Vector3.Zero; info.MaxLinearDof = Vector3.Zero; info.MinAngularDof = new Vector3(-float.MaxValue, -float.MaxValue, -float.MaxValue); info.MaxAngularDof = new Vector3(+float.MaxValue, -float.MinValue, -float.MinValue); info.AttachmentMatrix0 = localMatrix0; info.AttachmentMatrix1 = localMatrix1; }
protected override void GetInfo(ref JointRecord info) { info.DescriptionType = "upVector"; info.AttachedBody0 = Body0; info.AttachedBody1 = Body1; info.MinLinearDof = new Vector3(-float.MaxValue, -float.MaxValue, -float.MaxValue); info.MaxLinearDof = new Vector3(+float.MaxValue, +float.MaxValue, +float.MaxValue); info.MinAngularDof = new Vector3(-float.MaxValue, -float.MaxValue, -float.MaxValue); info.MaxAngularDof = new Vector3(+float.MaxValue, +float.MaxValue, +float.MaxValue); info.BodiesCollisionOn = 1; info.AttachmentMatrix0 = info.AttachmentMatrix1 = localMatrix0; }
protected override void GetInfo(ref JointRecord info) { }