Click or drag to resize

AABBIntersectsSegment Method

Returns true if the AABB intersects the line segment between `from` and `to`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool IntersectsSegment(
	Vector3 from,
	Vector3 to
)

Parameters

from
Type: GodotVector3
The start of the line segment.
to
Type: GodotVector3
The end of the line segment.

Return Value

Type: Boolean
A bool for whether or not the AABB intersects the line segment.
See Also