TRotation< float, 3 >::CalculateAngularVelocity

Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Rotation.h

Include

#include "Chaos/Rotation.h"

Syntax

static TVector< float, 3 > CalculateAngularVelocity
(
    const TRotation< float, 3 > & InR0,
    const TRotation< float, 3 > & InR1,
    const float InDt
)

Remarks

Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt.

This should match the algorithm used in PerParticleUpdateFromDeltaPosition rule.

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