TBox::PhiWithNormal

Return the distance and normal is the closest point on the surface to Pos. Negative for penetration.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Box.h

Include

#include "Chaos/Box.h"

Syntax

virtual T PhiWithNormal
(
    const TVector< T, d > & Pos,
    TVector< T, d > & Normal
) const

Remarks

Return the distance and normal is the closest point on the surface to Pos. Negative for penetration.

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