Click or drag to resize

RayCast2DGetCollisionPoint Method

Returns the collision point at which the ray intersects the closest object.

Note: this point is in the global coordinate system.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 GetCollisionPoint()

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.RayCast2D.GetCollisionPoint"]

See Also