Merge pull request #2231 from Balint-H:fix/unity-tendon-import

PiperOrigin-RevId: 699962497
Change-Id: I6284c0a3da4ecc907551c948290229f796448800
This commit is contained in:
Copybara-Service
2024-11-25 06:38:09 -08:00
@@ -42,8 +42,8 @@ public abstract class MjBaseTendon : MjComponent {
protected override void OnParseMjcf(XmlElement mjcf) {
Solver.FromMjcf(mjcf);
SpringLength = mjcf.GetFloatAttribute("springlength", defaultValue: -1.0f);
Stiffness = mjcf.GetFloatAttribute("damping");
Damping = mjcf.GetFloatAttribute("stiffness");
Stiffness = mjcf.GetFloatAttribute("stiffness");
Damping = mjcf.GetFloatAttribute("damping");
FromMjcf(mjcf);
}