projectPoint

abstract fun projectPoint(point: DVec3, filter: PhysicsQuery.Filter): PhysicsQuery.PointProject?

Projects a point onto the closest collider to that point.

Parameters

point

The point in world-space to project.

filter

The filter for determining which colliders are tested against.