private void loadLookConstraint(ConfigNode node) { String transformName = node.GetStringValue("transformName"); String targetName = node.GetStringValue("targetName"); bool singleTarget = node.GetBoolValue("singleTarget", false); Transform[] movers = part.FindModelTransforms(transformName); Transform[] targets = part.FindModelTransforms(targetName); int len = movers.Length; SSTULookConstraint lookConst; for (int i = 0; i < len; i++) { lookConst = new SSTULookConstraint(node, movers[i], singleTarget ? targets[0] : targets[i], part); constraints.Add(lookConst); } }