FSuspensionUtility::ComputeSprungMasses

Same as above, but allows the caller to specify spring locations in a local space which is not necessarily originated at the center of mass.

Windows
MacOS
Linux

References

Module

ChaosVehiclesCore

Header

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

Include

#include "SuspensionUtility.h"

Source

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

Syntax

static bool ComputeSprungMasses
(
    const TArray< FVector > & LocalSpringPositions,
    const FVector & LocalCenterOfMass,
    const float TotalMass,
    TArray< float > & OutSprungMasses
)

Remarks

Same as above, but allows the caller to specify spring locations in a local space which is not necessarily originated at the center of mass.

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