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
Syntaxpublic 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:
BooleanA bool for whether or not the AABB intersects the line segment.
See Also