updateWorldMatrix method
updateParents
- recursively updates global transform of ancestors.
updateChildren
- recursively updates global transform of descendants.
Updates the global transform of the object.
Implementation
@override
void updateWorldMatrix(bool updateParents, bool updateChildren) {
super.updateWorldMatrix(updateParents, updateChildren);
matrixWorldInverse.setFrom(matrixWorld);
matrixWorldInverse.invert();
}