Property PercentSubmerged
PercentSubmerged
Gets or sets the percentage of the "floating height" after it falls into the water, before sinking.
Declaration
public float PercentSubmerged { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The percentage between 0 and 1. |
Remarks
The default value for vanilla land vehicles is 0.85. The value will stop sinking the vehicle to float for a moment before sinking. An invalid number will cause the vehicle to sink without the driver drowning.