UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::FVehicleUtility Class Reference

#include <VehicleUtility.h>

Static Public Member Functions

static FORCEINLINE void ClampNormalRange (float &InOutValue)
 
static float YawFromForwardVectorRadians (const FVector &NormalizedForwardsVector)
 
static float PitchFromForwardVectorRadians (const FVector &NormalizedForwardsVector)
 
static float RollFromRightVectorRadians (const FVector &NormalizedRightVector)
 
static UE_API float TurnRadiusFromThreePoints (const FVector &PtA, const FVector &PtB, const FVector &PtC)
 
static float CalculateSlipAngle (float Y, float X)
 

Member Function Documentation

◆ CalculateSlipAngle()

static float Chaos::FVehicleUtility::CalculateSlipAngle ( float  Y,
float  X 
)
inlinestatic

◆ ClampNormalRange()

static FORCEINLINE void Chaos::FVehicleUtility::ClampNormalRange ( float InOutValue)
inlinestatic

clamp value between 0 and 1

◆ PitchFromForwardVectorRadians()

static float Chaos::FVehicleUtility::PitchFromForwardVectorRadians ( const FVector NormalizedForwardsVector)
inlinestatic

Calculate Pitch angle in Radians from a Normalized Forward facing vector

◆ RollFromRightVectorRadians()

static float Chaos::FVehicleUtility::RollFromRightVectorRadians ( const FVector NormalizedRightVector)
inlinestatic

Calculate Roll angle in Radians from a Normalized Right facing vector

◆ TurnRadiusFromThreePoints()

float Chaos::FVehicleUtility::TurnRadiusFromThreePoints ( const FVector PtA,
const FVector PtB,
const FVector PtC 
)
static

Calculate turn radius from three points. Note: this function is quite inaccurate for large radii. Return 0 if there is no answer, i.e. points lie on a line

◆ YawFromForwardVectorRadians()

static float Chaos::FVehicleUtility::YawFromForwardVectorRadians ( const FVector NormalizedForwardsVector)
inlinestatic

Calculate Yaw angle in Radians from a Normalized Forward facing vector


The documentation for this class was generated from the following files: