/** * Updates world transforms for this bone and it's children. */ public final void update() { this.updateModelTransforms(); for (Joint child : children.getArray()) { child.update(); } }
/** * Sets the local transform with the initial transform */ protected void applyInitialPose() { setLocalTransform(initialTransform); updateModelTransforms(); for (Joint child : children.getArray()) { child.applyInitialPose(); } }
/** * Sets the local transform with the bind transforms */ protected void applyBindPose() { jointModelTransform.applyBindPose(localTransform, inverseModelBindMatrix, parent); updateModelTransforms(); for (Joint child : children.getArray()) { child.applyBindPose(); } }