updateProxy method

  1. @override
void updateProxy()
override

Update the proxy of the shape.

Implementation

@override
void updateProxy() {
  //print('Bounds: ${node.bounds}');
  // The plane AABB is infinite, except if the normal is pointing along any axis
  aabb.set(
    node.bounds!.minX,
    node.bounds!.maxX,
    node.bounds!.minY,
    node.bounds!.maxY,
    node.bounds!.minZ,
    node.bounds!.maxZ
  );
  if(proxy != null) proxy!.update();
}