Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/TRotation_FRealSingle_3
Description
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.
| Name | CalculateAngularVelocity |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Rotation.h |
| Include Path | #include "Chaos/Rotation.h" |
static TVector < FRealSingle, 3 > CalculateAngularVelocity
(
const TRotation < FRealSingle, 3 > & InR0,
const TRotation < FRealSingle, 3 > & InR1,
const FRealSingle InDt
)