Function RayCast2D.getCollisionPoint

Returns the collision point at which the ray intersects the closest object. Note: this point is in the global coordinate system.

Vector2 getCollisionPoint() nothrow @nogc const;