C# Class WheelController, racing_game

Inheritance: MonoBehaviour
Mostra file Open project: Rarau/racing_game Class Usage Examples

Public Properties

Property Type Description
angularVelocityDegSec float
atanValue float
brakeTorque float
connectedWheel WheelController,
distanceToCM float
downForce float
driveTorque float
eBrakeEnabled bool
forceCurve UnityEngine.AnimationCurve
frictionCurve UnityEngine.AnimationCurve
fwd Vector3
fwdForce float
groundInfo UnityEngine.RaycastHit
linearVel float
localVel Vector3
mass float
maxGeometryDisplacement float
maxSideForce float
maxTractionAmt float
overrideSlipRatio bool
overridenSlipRatio float
prevPos Vector3
radius float
raycastIgnore LayerMask
rigidbody UnityEngine.Rigidbody
sideCurve UnityEngine.AnimationCurve
sideForce float
sideTraction float
slipAngle float
slipRatio float
steeringAngle float
suspensionDistance float
totalTorque float
tractionCoeff float
tractionForce float
tractionTorque float
w float
weightTransfer float
wheelGeometry GameObject

Public Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
OnDrawGizmos ( ) : void
SimulateTraction ( ) : void
Update ( ) : void

Private Methods

Method Description
ProjectVectorOnPlane ( Vector3 planeNormal, Vector3 v ) : Vector3

Method Details

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SimulateTraction() public method

public SimulateTraction ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

angularVelocityDegSec public_oe property

public float angularVelocityDegSec
return float

atanValue public_oe property

public float atanValue
return float

brakeTorque public_oe property

public float brakeTorque
return float

connectedWheel public_oe property

public WheelController, connectedWheel
return WheelController,

distanceToCM public_oe property

public float distanceToCM
return float

downForce public_oe property

public float downForce
return float

driveTorque public_oe property

public float driveTorque
return float

eBrakeEnabled public_oe property

public bool eBrakeEnabled
return bool

forceCurve public_oe property

public AnimationCurve,UnityEngine forceCurve
return UnityEngine.AnimationCurve

frictionCurve public_oe property

public AnimationCurve,UnityEngine frictionCurve
return UnityEngine.AnimationCurve

fwd public_oe property

public Vector3 fwd
return Vector3

fwdForce public_oe property

public float fwdForce
return float

groundInfo public_oe property

public RaycastHit,UnityEngine groundInfo
return UnityEngine.RaycastHit

linearVel public_oe property

public float linearVel
return float

localVel public_oe property

public Vector3 localVel
return Vector3

mass public_oe property

public float mass
return float

maxGeometryDisplacement public_oe property

public float maxGeometryDisplacement
return float

maxSideForce public_oe property

public float maxSideForce
return float

maxTractionAmt public_oe property

public float maxTractionAmt
return float

overrideSlipRatio public_oe property

public bool overrideSlipRatio
return bool

overridenSlipRatio public_oe property

public float overridenSlipRatio
return float

prevPos public_oe property

public Vector3 prevPos
return Vector3

radius public_oe property

public float radius
return float

raycastIgnore public_oe property

public LayerMask raycastIgnore
return LayerMask

rigidbody public_oe property

public Rigidbody,UnityEngine rigidbody
return UnityEngine.Rigidbody

sideCurve public_oe property

public AnimationCurve,UnityEngine sideCurve
return UnityEngine.AnimationCurve

sideForce public_oe property

public float sideForce
return float

sideTraction public_oe property

public float sideTraction
return float

slipAngle public_oe property

public float slipAngle
return float

slipRatio public_oe property

public float slipRatio
return float

steeringAngle public_oe property

public float steeringAngle
return float

suspensionDistance public_oe property

public float suspensionDistance
return float

totalTorque public_oe property

public float totalTorque
return float

tractionCoeff public_oe property

public float tractionCoeff
return float

tractionForce public_oe property

public float tractionForce
return float

tractionTorque public_oe property

public float tractionTorque
return float

w public_oe property

public float w
return float

weightTransfer public_oe property

public float weightTransfer
return float

wheelGeometry public_oe property

public GameObject wheelGeometry
return GameObject