FloatingObject#

Class in WaveHarmonic.Crest, WaveHarmonic.Crest

Physics including buoyancy and drag.

Members#

Properties#

AccelerateDownhill

Approximate hydrodynamics of ‘surfing’ down waves.

AngularDrag

Angular drag when in water.

BuoyancyForceStrength

Strength of buoyancy force.

BuoyancyTorqueStrength

Strength of torque applied to match boat orientation to water normal.

CenterToBottomOffset

Height offset from transform center to bottom of boat (if any).

Drag

Drag when in water.

ForceHeightOffset

Vertical offset for where drag force should be applied.

MaximumBuoyancyForce

Clamps the buoyancy force to this value.

Model

The model to use for buoyancy.

ObjectLength

Length dimension of boat.

ObjectWidth

Width of object for physics purposes.

Probes

Query points for buoyancy.

RigidBody

The rigid body to affect.

UseObjectLength

Computes a separate normal based on boat length to get more accurate orientations.

InWater

Is any part of this object in water.