intersectShapeFirst
open fun intersectShapeFirst(shape: Shape, shapePos: DIso3, filter: PhysicsQuery.Filter): ColliderKey?
Gets every collider whose shape intersects shape if that shape was positioned at shapePos.
Return
The first result found, stopping the query after this result.
Parameters
shape
The shape to test against.
shapePos
The position of the tested shape in the world.
filter
The filter for determining which colliders are tested against.