FVehicleUtility::TurnRadiusFromThreePoints

Calculate turn radius from three points.

Windows
MacOS
Linux

References

Module

ChaosVehiclesCore

Header

/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/VehicleUtility.h

Include

#include "VehicleUtility.h"

Source

/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Private/VehicleUtility.cpp

Syntax

static float TurnRadiusFromThreePoints
(
    const FVector & PtA,
    const FVector & PtB,
    const FVector & PtC
)

Remarks

Calculate turn radius from three points.

this function is quite inaccurate for large radii. Return 0 if there is no answer, i.e. points lie on a line

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