Work Name: 【Mouse】

Source Code


const mesh01J2EPMJJ73VSF6WCPV77H5BCM = BABYLON.MeshBuilder.CreateSphere('01J2EPMJJ73VSF6WCPV77H5BCM', { segments: 3 }, scene);
mesh01J2EPMJJ73VSF6WCPV77H5BCM.position = new BABYLON.Vector3(
  0,
  3.7702577114105225,
  0,
);
mesh01J2EPMJJ73VSF6WCPV77H5BCM.rotationQuaternion = new BABYLON.Quaternion(
  0,
  0,
  0,
  1,
);
mesh01J2EPMJJ73VSF6WCPV77H5BCM.scaling = new BABYLON.Vector3(
  13.316743850708008,
  4.464184761047363,
  5.684826374053955,
);

const mesh01J2EPPBVXWAEGE591H7THG32Y = BABYLON.MeshBuilder.CreateSphere('01J2EPPBVXWAEGE591H7THG32Y', { segments: 3 }, scene);
mesh01J2EPPBVXWAEGE591H7THG32Y.position = new BABYLON.Vector3(
  0.15800350010395053,
  0.1788856744766235,
  -0.03518140912055968,
);
mesh01J2EPPBVXWAEGE591H7THG32Y.rotationQuaternion = new BABYLON.Quaternion(
  -0.41535315068773027,
  0.0034083054451644517,
  -0.0019935256411990863,
  0.9096516423696854,
);
mesh01J2EPPBVXWAEGE591H7THG32Y.scaling = new BABYLON.Vector3(
  9.431765012403272,
  9.431759587978696,
  9.431775078614084,
);

const mesh01J2EPSMJWG0QNVNKNPP0YAQCW = BABYLON.MeshBuilder.CreateBox('01J2EPSMJWG0QNVNKNPP0YAQCW', {}, scene);
mesh01J2EPSMJWG0QNVNKNPP0YAQCW.position = new BABYLON.Vector3(
  0.000029060345696052536,
  -4.08017635345459,
  0.00001517227337899385,
);
mesh01J2EPSMJWG0QNVNKNPP0YAQCW.rotationQuaternion = new BABYLON.Quaternion(
  7.889264708181763e-8,
  5.443734778508851e-7,
  3.959673833264185e-8,
  0.9999999999998479,
);
mesh01J2EPSMJWG0QNVNKNPP0YAQCW.scaling = new BABYLON.Vector3(
  12.637859344489952,
  12.637859344482619,
  12.63785648346712,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J2EPMJJ73VSF6WCPV77H5BCM);
subCSG['intersectInPlace'](BABYLON.CSG.FromMesh(mesh01J2EPPBVXWAEGE591H7THG32Y));
subCSG['subtractInPlace'](BABYLON.CSG.FromMesh(mesh01J2EPSMJWG0QNVNKNPP0YAQCW));
subCSG.toMesh("csg", undefined, scene, true);

mesh01J2EPMJJ73VSF6WCPV77H5BCM.dispose();
mesh01J2EPPBVXWAEGE591H7THG32Y.dispose();
mesh01J2EPSMJWG0QNVNKNPP0YAQCW.dispose();