Merge pull request #2231 from Balint-H:fix/unity-tendon-import
PiperOrigin-RevId: 699962497 Change-Id: I6284c0a3da4ecc907551c948290229f796448800
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user