Normand Briere
2019-08-16 83d0c2fa0bd2e96448f776144e1a89cdb1bb6998
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"))