CheckCollisionSpheres method

bool CheckCollisionSpheres(
  1. Vector3 center1,
  2. num radius1,
  3. Vector3 center2,
  4. num radius2,
)

Check collision between two spheres

Implementation

bool CheckCollisionSpheres(
  Vector3 center1,
  num radius1,
  Vector3 center2,
  num radius2,
) => run(
  () => _debugLabels.CheckCollisionSpheres(center1, radius1, center2, radius2),
  () => _flat.CheckCollisionSpheres(
    center1,
    radius1.toDouble(),
    center2,
    radius2.toDouble(),
  ),
);