FBuoyancyComponentSim::ApplyTorqueForDownstreamAngularRotation

Computes torque to rotate the object downstream.

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyComponentSimulation.h

Include

#include "BuoyancyComponentSimulation.h"

Syntax

template<typename TBody, typename TState, typename TAux>
static void ApplyTorqueForDownstreamAngularRotation
(
    const float DeltaSeconds,
    TBody * Body,
    TState & State,
    const FBuoyancyData & BuoyancyData,
    TAux & Aux
)

Remarks

Computes torque to rotate the object downstream.