Normand Briere
2019-09-13 ab9e1281ca1ccb3e5d01eb24934f81c1072114f2
mocap/reader/BVHReader.java
....@@ -180,8 +180,12 @@
180180 b.setParent(parent);
181181 // EXTRA JOINTS
182182 // parent.attachGeom(n.offset, maxRadius, joints);
183
+
184
+ b.setBaseTranslation(n.offset);
183185 }
184
- b.setBaseTranslation(n.offset);
186
+ else
187
+ // Not for hip because the height is already factored in the mocap data.
188
+ b.setBaseTranslation(new Vector3d());
185189
186190 // for horse
187191 // if (n.name.equals("tail1"))