LineCheckWithTriangle

Line Check With Triangle Algorithm based on "Fast, Minimum Storage Ray/Triangle Intersection" Returns true if the line segment does hit the triangle

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Collision.h

Include

#include "Collision.h"

Syntax

bool LineCheckWithTriangle
(
    FHitResult & Result,
    const FVector & V1,
    const FVector & V2,
    const FVector & V3,
    const FVector & Start,
    const FVector & End,
    const FVector & Direction
)

Remarks

Line Check With Triangle Algorithm based on "Fast, Minimum Storage Ray/Triangle Intersection" Returns true if the line segment does hit the triangle

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