Struct FloatingBoats.Moored
A boat at its moorings.
[Serializable]
public struct FloatingBoats.Moored
- Inherited Members
Fields
Boat
The boat's root (its collider; the server keeps it), moved with the tide.
public Transform Boat
Field Value
- Transform
Floor
The lowest its waterline sits: on the bottom, when the tide is out (negative infinity on water with no tide).
public float Floor
Field Value
Heel
The list it takes when aground, degrees (signed: the side it falls to).
public float Heel
Field Value
Length
Its length, metres: a small boat bobs quicker and rolls further.
public float Length
Field Value
Phase
public float Phase
Field Value
Position
Where it lies (y the water level it was cut against) and its heading, degrees.
public Vector3 Position
Field Value
- Vector3
Visual
Its drawn hull under the root (client-only: null on a server), bobbed and rolled on the swell.
public Transform Visual
Field Value
- Transform
Yaw
public float Yaw