Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Attributes | List of all members
MoreMountains.HighroadEngine.SolidWheelSkidmarks Class Reference

This class handles skidmarks production for a wheel attached to a SolidWheel More...

Inheritance diagram for MoreMountains.HighroadEngine.SolidWheelSkidmarks:

Public Member Functions

virtual void Start ()
 We look for the SkidmarksManager that must be in the scene to function One Skidmarks manager is enough for all vehicles More...
 
virtual void Update ()
 Updates the skidmark's properties More...
 

Public Attributes

float MinimalSkidMarksSlideSpeed = 5f
 The speed below which wheels don't leave skidmarks. More...
 
float MaxSkidIntensity = 10f
 The maximal amount of skidmarks generated. More...
 

Protected Attributes

SkidmarksManager SkidMarksObject
 
SolidWheelBehaviour _wheel
 
int lastSkid = 0
 

Detailed Description

This class handles skidmarks production for a wheel attached to a SolidWheel

Member Function Documentation

◆ Start()

virtual void MoreMountains.HighroadEngine.SolidWheelSkidmarks.Start ( )
virtual

We look for the SkidmarksManager that must be in the scene to function One Skidmarks manager is enough for all vehicles

◆ Update()

virtual void MoreMountains.HighroadEngine.SolidWheelSkidmarks.Update ( )
virtual

Updates the skidmark's properties

Member Data Documentation

◆ _wheel

SolidWheelBehaviour MoreMountains.HighroadEngine.SolidWheelSkidmarks._wheel
protected

◆ lastSkid

int MoreMountains.HighroadEngine.SolidWheelSkidmarks.lastSkid = 0
protected

◆ MaxSkidIntensity

float MoreMountains.HighroadEngine.SolidWheelSkidmarks.MaxSkidIntensity = 10f

The maximal amount of skidmarks generated.

◆ MinimalSkidMarksSlideSpeed

float MoreMountains.HighroadEngine.SolidWheelSkidmarks.MinimalSkidMarksSlideSpeed = 5f

The speed below which wheels don't leave skidmarks.

◆ SkidMarksObject

SkidmarksManager MoreMountains.HighroadEngine.SolidWheelSkidmarks.SkidMarksObject
protected

The documentation for this class was generated from the following file: