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.

Choose your operating system:

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.