Click or drag to resize

RayCast2DGetColliderShape Method

Returns the shape ID of the first object that the ray intersects, or 0 if no object is intersecting the ray (i.e. IsColliding returns false).

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

Return Value

Type: Int32

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

See Also