Skip to content

sphere3VsSphere3

sphere3VsSphere3(aCenter, aRadius, bCenter, bRadius): boolean

Defined in: src/modules/collision-3d/narrowphase3.ts:142

Two spheres overlap (or touch) when the centre distance is at most the sum of radii.

Vec3

number

Vec3

number

boolean