Sphere vs Box collision detector.
Constructor
new(swapped:Bool)
If swapped
is true
, the collision detector expects BoxGeometry
and SphereGeometry
for the
first and second argument of SphereBoxDetector.detect
. If swapped
is false
, the collision detector expects
SphereGeometry
and BoxGeometry
instead.