URL: https://wiki.studiominus.nl/internalReference/HovercarBehaviour.html Title: People Playground Modding - HovercarBehaviour ================================================== public class HovercarBehaviour Inherits MonoBehaviour, Messages.IUse Controls the hover car Fields public float HoverHeight The distance from the ground. Must be set before Start is called. public PhysicalBehaviour PhysicalBehaviour [SkipSerialisation] Reference to the PhysicalBehaviour of this object public CosmeticRotationBehaviour Fan [SkipSerialisation] Reference to the CosmeticRotationBehaviour that rotates the little fan public AudioSource AccLoop [SkipSerialisation] References to the audio sources that play the hover car sounds public Transform[] HoverPoints [SkipSerialisation] Array of points representing each virtual hovering point public LayerMask Layers [SkipSerialisation] Layers to hover over public float ForceMultiplier Multiplier for how much hovering force to apply public float FactorPower The exponent applied to the calculation that determines how much force to apply considering the distance from the ground public float VelocityRetention How much perpendicular velocity should be retained when hovering? Ranges from 0.0 to 1.0 public float ParkForceMultiplier How powerful are the brakes of this thing? public float BaseSpeed The speed of the hover car public bool Activated Is the hover car currently driving? public float[] calibratedHoverHeights [SkipSerialisation] [NaughtyAttributes.ReadOnly] Used for serialisation. Do not manipulate. Methods public void Use(ActivationPropagation a) No description provided public Vector2 GetTargetForceVector() Calculates and returns the target vector for when the hover car is driving