Navigation
API > API/Plugins > API/Plugins/Water
| Name | FBuoyancyComponentSim |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyComponentSimulation.h |
| Include Path | #include "BuoyancyComponentSimulation.h" |
Syntax
class FBuoyancyComponentSim
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBuoyancyComponentSim() |
BuoyancyComponentSimulation.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TParticleUtilities | Chaos::FParticleUtilitiesXR | BuoyancyComponentSimulation.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddForce
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void AddForceAtPositionWorld
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void AddTorque
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void ApplyAngularDrag
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void ApplyBuoyancy
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void ApplyLinearDrag
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void ApplyTorqueForDownstreamAngularRotation
(
const float DeltaSeconds, |
Computes torque to rotate the object downstream. | BuoyancyComponentSimulation.h | |
static void ApplyWaterForce
(
TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void ComputeBuoyancy
(
const FBuoyancyData& BuoyancyData, |
BuoyancyComponentSimulation.h | ||
static FVector ComputeWaterForce
(
FSphericalPontoon& Pontoon, |
BuoyancyComponentSimulation.h | ||
static FVector GetAngularVelocity
(
const TBody* Body |
BuoyancyComponentSimulation.h | ||
static FVector GetVelocity
(
const TBody* Body |
BuoyancyComponentSimulation.h | ||
static float GetWaterHeight
(
const TArray< FSolverSafeWaterBodyData* >& WaterBodies, |
BuoyancyComponentSimulation.h | ||
static FTransform GetWorldTM
(
const TBody* Body |
BuoyancyComponentSimulation.h | ||
static float ToKmH
(
float Speed |
BuoyancyComponentSimulation.h | ||
static void Update
(
const float DeltaSeconds, |
BuoyancyComponentSimulation.h | ||
static void UpdateBuoyancy
(
const TBody* Body, |
BuoyancyComponentSimulation.h | ||
static void UpdatePhysicsState
(
const TBody* Body, |
BuoyancyComponentSimulation.h |