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
public int GetColliderShape()
[Missing <returns> documentation for "M:Godot.RayCast2D.GetColliderShape"]