FBuoyancyData

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

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

Include

#include "BuoyancyTypes.h"

Syntax

USTRUCT(Blueprintable)
struct FBuoyancyData

Variables

Name Description

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

AngularDragCoefficient

Public variable UProperty Category, EditDefaultsOnly, Meta

bool

 

bAllowCurrentWhenMovingFastUpstream

Apply the current when moving at high speeds upstream. Disable for vehicles to have more control

Public variable UProperty Category, EditDefaultsOnly, Meta

bool

 

bAlwaysAllowLateralPush

Allow an object to be pushed laterally regardless of the forward movement speed through the river

Public variable UProperty Category, EditDefaultsOnly, Meta

bool

 

bApplyDownstreamAngularRotation

Public variable UProperty Category, EditDefaultsOnly

bool

 

bApplyDragForcesInWater

Public variable UProperty Category, EditDefaultsOnly

bool

 

bApplyRiverForces

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyCoefficient

Increases buoyant force applied on each pontoon.

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyDamp

Damping factor to scale damping based on Z velocity.

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyDamp2

Second Order Damping factor to scale damping based on Z velocity.

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyRampMax

Maximum value that buoyancy can ramp to (at or beyond max velocity).

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyRampMaxVelocity

Maximum velocity until which the buoyancy can ramp up.

Public variable UProperty Category, EditDefaultsOnly

float

 

BuoyancyRampMinVelocity

Minimum velocity to start applying a ramp to buoyancy.

Public variable UProperty Category, EditDefaultsOnly, Meta

FVector

 

DownstreamAxisOfRotation

The axis with respect to the object that the downstream angular rotation should be aligned

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DownstreamMaxAcceleration

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DownstreamRotationAngularDamping

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DownstreamRotationStiffness

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DownstreamRotationStrength

Strength of the angular rotation application

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DragCoefficient

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

DragCoefficient2

Public variable UProperty Category, EditDefaultsOnly

float

 

MaxBuoyantForce

Maximum buoyant force in the Up direction.

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

MaxDragSpeed

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

MaxShorePushForce

Maximum push force that can be applied by riverths towards the center or edge.

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

MaxWaterForce

Maximum push force that can be applied by rivers.

Public variable UProperty Category, EditDefaultsOnly BlueprintReadOnly

TArray< FSpheri...

 

Pontoons

Public variable UProperty Category, EditDefaultsOnly, Meta

int

 

RiverPontoonIndex

Pontoon to calculate water forces from.

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

RiverTraversalPathWidth

Path width along the inside of the river which the object should traverse

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

WaterShorePushFactor

Coefficient for nudging objects to shore in Rivers (for perf reasons).

Public variable UProperty Category, EditDefaultsOnly, Meta

float

 

WaterVelocityStrength

Coefficient for applying push force in rivers.

Constructors

Name Description

Public function

FBuoyancyData()

Functions

Name Description

Public function

void

 

Serialize

(
    FArchive& Ar
)