Normand Briere
2018-07-03 02e145cb923d601395acc7f15ae9e13f85ef2fbb
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"))