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