FSteeringUtility::CalculateAkermannAngle

Static void CalculateAkermannAngle(float Input, float& OutSteerLeft, float& OutSteerRight , [FVector2D](API\Runtime\Core\Math\FVector2D)& OutPtLeft = [FVector2D()](API\Runtime\Core\Math\FVector2D), [FVector2D](API\Runtime\Core\Math\FVector2D)& OutPtRight = [FVector2D()](API\Runtime\Core\Math\FVector2D)) float RestAngle; [FVector2D](API\Runtime\Core\Math\FVector2D) PtRest; CalculateAkermannAngle(false, 0.0f, PtRest, RestAngle); CalculateAkermannAngle(true, Input, OutSteerLeft, OutPtLeft); CalculateAkermannAngle(false, Input, OutSteerRight, OutPtRight); OutSteerLeft -= RestAngle; OutSteerRight -= RestAngle;

Windows
MacOS
Linux

References

Module

ChaosVehiclesCore

Header

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

Include

#include "SteeringUtility.h"

Syntax

static void CalculateAkermannAngle
(
    bool Flip,
    float Input,
    FVector2D & C2,
    float R1,
    float R2,
    float & OutSteerAngle,
    FVector2D & OutC1,
    FVector2D & OutPt
)

Remarks

Static void CalculateAkermannAngle(float Input, float& OutSteerLeft, float& OutSteerRight , FVector2D& OutPtLeft = FVector2D(), FVector2D& OutPtRight = FVector2D()) float RestAngle; FVector2D PtRest; CalculateAkermannAngle(false, 0.0f, PtRest, RestAngle); CalculateAkermannAngle(true, Input, OutSteerLeft, OutPtLeft); CalculateAkermannAngle(false, Input, OutSteerRight, OutPtRight); OutSteerLeft -= RestAngle; OutSteerRight -= RestAngle;

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