private void readSprings(XmlNode node)
{
uint id = uint.Parse(readAttribute(node, "Joint", "0"));
Joint obj = model.JointList[id];
if (obj != null)
{
float u1 = float.Parse(readAttribute(node, "U1", "0"));
float u2 = float.Parse(readAttribute(node, "U2", "0"));
float u3 = float.Parse(readAttribute(node, "U3", "0"));
float r1 = float.Parse(readAttribute(node, "R1", "0"));
float r2 = float.Parse(readAttribute(node, "R2", "0"));
float r3 = float.Parse(readAttribute(node, "R3", "0"));
JointDOF dof = obj.DoF;
dof.SpringValues = new float[] { u1, u2, u3, r1, r2, r3 };
obj.DoF = dof;
}
}