GeometrySegmentIntersectsCylinder Method |
Checks if the segment (from, to) intersects the cylinder with height height that is centered at the origin and has radius radius. If no, returns an empty Vector3. If an intersection takes place, the returned array contains the point of intersection and the cylinder's normal at the point of intersection.
Namespace: Godot
public static Vector3[] SegmentIntersectsCylinder( Vector3 from, Vector3 to, float height, float radius )
[Missing <param name="from"/> documentation for "M:Godot.Geometry.SegmentIntersectsCylinder(Godot.Vector3,Godot.Vector3,System.Single,System.Single)"]
[Missing <param name="to"/> documentation for "M:Godot.Geometry.SegmentIntersectsCylinder(Godot.Vector3,Godot.Vector3,System.Single,System.Single)"]
[Missing <param name="height"/> documentation for "M:Godot.Geometry.SegmentIntersectsCylinder(Godot.Vector3,Godot.Vector3,System.Single,System.Single)"]
[Missing <param name="radius"/> documentation for "M:Godot.Geometry.SegmentIntersectsCylinder(Godot.Vector3,Godot.Vector3,System.Single,System.Single)"]
[Missing <returns> documentation for "M:Godot.Geometry.SegmentIntersectsCylinder(Godot.Vector3,Godot.Vector3,System.Single,System.Single)"]