TRotation< FReal, 3 >::CalculateAngularVelocity2

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/Rotation.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Utilities.cpp

Syntax

static TVector< FReal, 3 > CalculateAngularVelocity2
(
    const TRotation< FReal, 3 > & R0,
    const TRotation< FReal, 3 > & InR1,
    const FReal InDt
)

Remarks

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

Uses the Quaternion to Axis/Angle method.