updateMatrixWorld method

  1. @override
void updateMatrixWorld([
  1. bool force = false
])
override

Implementation

@override
updateMatrixWorld([bool force = false]) {
  var box = this.box!;

  if (box.isEmpty()) return;

  box.getCenter(position);

  box.getSize(scale);

  scale.multiplyScalar(0.5);

  super.updateMatrixWorld(force);
}