UKismetMathLibrary::LinePlaneIntersection_OriginNormal

Computes the intersection point between a line and a plane.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp

Syntax

static bool LinePlaneIntersection_OriginNormal
(
    const FVector & LineStart,
    const FVector & LineEnd,
    FVector PlaneOrigin,
    FVector PlaneNormal,
    float & T,
    FVector & Intersection
)

Remarks

Computes the intersection point between a line and a plane.

Returns

True if the intersection test was successful.

Parameters

Parameter

Description

T

The t of the intersection between the line and the plane

Intersection

The point of intersection between the line and the plane

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss