Skip to content

Commit

Permalink
Merge pull request #2231 from Balint-H:fix/unity-tendon-import
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 699962497
Change-Id: I6284c0a3da4ecc907551c948290229f796448800
  • Loading branch information
copybara-github committed Nov 25, 2024
2 parents c6ba8f2 + 6b3d34d commit 38e4c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unity/Runtime/Components/Tendons/MjBaseTendon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 38e4c48

Please sign in to comment.