GeometrySegmentIntersectsConvex Method |
Given a convex hull defined though the Planes in the array planes, tests if the segment (from, to) intersects with that hull. If an intersection is found, returns a Vector3 containing the point the intersection and the hull's normal. If no intersecion is found, an the returned array is empty.
Namespace: Godot
public static Vector3[] SegmentIntersectsConvex( Vector3 from, Vector3 to, Array planes )
[Missing <param name="from"/> documentation for "M:Godot.Geometry.SegmentIntersectsConvex(Godot.Vector3,Godot.Vector3,Godot.Collections.Array)"]
[Missing <param name="to"/> documentation for "M:Godot.Geometry.SegmentIntersectsConvex(Godot.Vector3,Godot.Vector3,Godot.Collections.Array)"]
[Missing <param name="planes"/> documentation for "M:Godot.Geometry.SegmentIntersectsConvex(Godot.Vector3,Godot.Vector3,Godot.Collections.Array)"]
[Missing <returns> documentation for "M:Godot.Geometry.SegmentIntersectsConvex(Godot.Vector3,Godot.Vector3,Godot.Collections.Array)"]