Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyTypes.h |
Include |
#include "BuoyancyTypes.h" |
USTRUCT(Blueprintable)
struct FBuoyancyData
Name | Description | ||
---|---|---|---|
|
float |
AngularDragCoefficient |
|
|
bAllowCurrentWhenMovingFastUpstream |
Apply the current when moving at high speeds upstream. Disable for vehicles to have more control |
|
|
bAlwaysAllowLateralPush |
Allow an object to be pushed laterally regardless of the forward movement speed through the river |
|
|
bApplyDownstreamAngularRotation |
||
|
bApplyDragForcesInWater |
||
|
bApplyRiverForces |
||
|
float |
BuoyancyCoefficient |
Increases buoyant force applied on each pontoon. |
|
float |
BuoyancyDamp |
Damping factor to scale damping based on Z velocity. |
|
float |
BuoyancyDamp2 |
Second Order Damping factor to scale damping based on Z velocity. |
|
float |
BuoyancyRampMax |
Maximum value that buoyancy can ramp to (at or beyond max velocity). |
|
float |
BuoyancyRampMaxVelocity |
Maximum velocity until which the buoyancy can ramp up. |
|
float |
BuoyancyRampMinVelocity |
Minimum velocity to start applying a ramp to buoyancy. |
|
DownstreamAxisOfRotation |
The axis with respect to the object that the downstream angular rotation should be aligned |
|
|
float |
DownstreamMaxAcceleration |
|
|
float |
DownstreamRotationAngularDamping |
|
|
float |
DownstreamRotationStiffness |
|
|
float |
DownstreamRotationStrength |
Strength of the angular rotation application |
|
float |
DragCoefficient |
|
|
float |
DragCoefficient2 |
|
|
float |
MaxBuoyantForce |
Maximum buoyant force in the Up direction. |
|
float |
MaxDragSpeed |
|
|
float |
MaxShorePushForce |
Maximum push force that can be applied by riverths towards the center or edge. |
|
float |
MaxWaterForce |
Maximum push force that can be applied by rivers. |
|
Pontoons |
||
|
int |
RiverPontoonIndex |
Pontoon to calculate water forces from. |
|
float |
RiverTraversalPathWidth |
Path width along the inside of the river which the object should traverse |
|
float |
WaterShorePushFactor |
Coefficient for nudging objects to shore in Rivers (for perf reasons). |
|
float |
WaterVelocityStrength |
Coefficient for applying push force in rivers. |
Name | Description | |
---|---|---|
|
FBuoyancyData() |