Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
Source |
/Engine/Source/Runtime/Core/Public/Math/Plane.h |
Find the intersection of a ray and a plane. The ray has a start point with an infinite length. Assumes that the line and plane do indeed intersect; you must make sure they're not parallel before calling.
FMath inline functions
The point of intersection between the ray and the plane.
Parameter |
Description |
---|---|
RayOrigin |
The start point of the ray |
RayDirection |
The direction the ray is pointing (normalized vector) |
Plane |
The plane to intersect with |