intersectPoint

abstract fun intersectPoint(point: DVec3, filter: PhysicsQuery.Filter, fn: (ColliderKey) -> PhysicsQuery.Result)

Gets every collider which contains point inside of its shape.

Parameters

point

The point to test against.

filter

The filter for determining which colliders are tested against.

fn

The callback to run for each result, allowing you to continue or stop the query.