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