Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyComponentSimulation.h |
Include |
#include "BuoyancyComponentSimulation.h" |
template<typename TBody, typename TState, typename TAux>
static void ApplyTorqueForDownstreamAngularRotation
(
const float DeltaSeconds,
TBody * Body,
TState & State,
const FBuoyancyData & BuoyancyData,
TAux & Aux
)
Computes torque to rotate the object downstream.