Struct FloatingBoats.Sailing
A ship plying a lane.
[Serializable]
public struct FloatingBoats.Sailing
- Inherited Members
Fields
Deck
The hull collider's bounds in the root's space (bow +x; y 0 a ship's waterline, an airship's deck): where a rider can stand.
public Bounds Deck
Field Value
- Bounds
DwellEnd
How long it waits at the lane's start and its end, seconds.
public float DwellEnd
Field Value
DwellStart
How long it waits at the lane's start and its end, seconds.
public float DwellStart
Field Value
Furled
public Transform Furled
Field Value
- Transform
Lane
public int Lane
Field Value
Length
public float Length
Field Value
Offset
Where in its round it is at second 0, seconds.
public float Offset
Field Value
Phase
public float Phase
Field Value
Root
The ship's own object, which the server keeps: its hull's collider (and an obstacle for swimming NPCs' agents), posed from the synced tick and never bobbed. Null in a scene cut before ships were solid: then it is drawn only.
public Transform Root
Field Value
- Transform
Ship
The ship under sail, and (optional) the same ship with its sail furled, shown while it lies in port: drawn hulls, client-only (null on a server), under Root.
public Transform Ship
Field Value
- Transform
Speed
Its speed through the water, metres a second.
public float Speed