Normand Briere
2018-07-01 bb87fae3b097ddd5c5039bf1ab48d3718b900b08
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"))