Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
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 |
static bool LinePlaneIntersection
&40;
const FVector & LineStart,
const FVector & LineEnd,
const FPlane & APlane,
float & T,
FVector & Intersection
&41;
Remarks
Intersection Computes the intersection point between a line and a plane. True if the intersection test was successful.
Parameters
Name | Description |
---|---|
T | The t of the intersection between the line and the plane |
Intersection | The point of intersection between the line and the plane |