iRDS - Intelligent Race Driver System  V 2.1.0.5
 All Classes Namespaces Functions Variables Properties Events
IRDSSimplePhysics Class Reference
Inheritance diagram for IRDSSimplePhysics:

Public Types

enum  DrivetrainType { FWD, RWD, AWD }
 

Public Member Functions

void EngingeSpeedUpdate (out float wheelsAngularVelocity, float engineAngularVelo)
 
void GetTorqueAndRatio (float eTorque, float eRatio)
 
void GetInputs (float steeringInput, float throttleInput, float brakeInput, float handBrakeInput)
 

Public Attributes

DrivetrainType drivetrainType = (DrivetrainType) 1
 
Rigidbody body
 
PhysicMaterial contactMaterial
 
float steering = 0f
 The steering. More...
 
bool onGround = false
 Up side down. More...
 
float steerSpeed = 3f
 The turn speed. More...
 
float lateralGripHighSpeed = 1f
 The lateral grip high speed. More...
 
float lateralGripLowSpeed = 1f
 The lateral grip low speed. More...
 
float antiSpinMultiplier = 1f
 
float minSpeedToSteer = 0.2f
 The max speed. More...
 
float brake = 0
 
float brakeTorque = 150
 
float longitudinalMaxForce = 150f
 
float rotation
 
float longSlip = 0f
 
float lateralSlip = 0f
 

Member Data Documentation

float IRDSSimplePhysics.lateralGripHighSpeed = 1f

The lateral grip high speed.

float IRDSSimplePhysics.lateralGripLowSpeed = 1f

The lateral grip low speed.

float IRDSSimplePhysics.minSpeedToSteer = 0.2f

The max speed.

The max speed to turn.

bool IRDSSimplePhysics.onGround = false

Up side down.

float IRDSSimplePhysics.steering = 0f

The steering.

float IRDSSimplePhysics.steerSpeed = 3f

The turn speed.