iRDS - Intelligent Race Driver System
V 2.1.0.5
|
Public Member Functions | |
bool | GetRepair () |
Gets the repair. More... | |
void | SetRepair (bool Value) |
Sets the repair. More... | |
float | GetMaxMoveDelta () |
Gets the max move delta. More... | |
void | SetMaxMoveDelta (float Value) |
Sets the max move delta. More... | |
float | GetMaxNoiseDeform () |
Gets the max noise deform. More... | |
void | SetMaxNoiseDeform (float Value) |
Sets the max noise deform. More... | |
float | GetYForceDamp () |
Gets the Y force damp. More... | |
void | SetYForceDamp (float Value) |
Sets the Y force damp. More... | |
float | GetDemolutionRange () |
Gets the demolution range. More... | |
void | SetDemolutionRange (float Value) |
Sets the demolution range. More... | |
float | GetMaxRotationDelta () |
Gets the max rotation delta. More... | |
void | SetMaxRotationDelta (float Value) |
Sets the max rotation delta. More... | |
float | GetMinForce () |
Gets the minimum force. More... | |
void | SetMinForce (float Value) |
Sets the minimum force. More... | |
float | GetRepairDelta () |
Gets the repair delta. More... | |
void | SetRepairDelta (float Value) |
Sets the repair delta. More... | |
Transform | GetOptionalMeshList () |
Gets the optional mesh list. More... | |
void | SetOptionalMeshList (Transform Value) |
Sets the optional mesh list. More... | |
MeshCollider[] | GetOptionalColliderList () |
Gets the optional collider list. More... | |
void | SetOptionalColliderList (MeshCollider[] Value) |
Sets the optional collider list. More... | |
Transform[] | GetOptionalTransformList () |
Gets the optional transform list. More... | |
void | SetOptionalTransformList (Transform[] Value) |
Sets the optional transform list. More... | |
void | OnCollisionEnter (Collision collision) |
void | OnMeshForce (Mesh Meshes, Transform thisTransform, Vector3 originPos, Vector3 force, Vector3[] orgMesh) |
void | OnTransformForce (Transform thisTransform, ContactPoint[] originPos, Vector3 force, Vector3 orgTransformPosition, Vector3 orgTransformAngle) |
bool | onMeshRepair (Mesh Meshes, Transform thisTransform, Vector3[] orgMesh) |
bool | onTransformRepair (Transform thisTransform, Vector3 orgTransformPosition, Vector3 orgTransformAngle) |
Public Attributes | |
ParticleEmitter | sparksEmitter |
The sparks emitter. More... | |
float | maxParticleSizeFactor = 5000 |
The max particle size factor. More... | |
float | maxParticleEnergyFactor = 5000 |
The max particle energy factor. More... | |
float | maxMaxEnergy = 0.75f |
The max max energy. More... | |
float | maxMaxSize = 0.1f |
The size of the max max. More... | |
float | sparksTime = 0.1f |
The sparks time. More... | |
float | lastSparksTime = 0 |
The last sparks time. More... | |
bool | disableDamage = false |
The disable damage. More... | |
float | totalDamage = 0f |
The total damage. More... | |
float | sparksShurikenSpeedFactor = 5000f |
The sparks shuriken speed factor. More... | |
int | minSparkShurikenParticles = 10 |
The minimum spark shuriken particles. More... | |
int | maxSparkShurikenParticles = 100 |
The max spark shuriken particles. More... | |
ParticleSystem | sparksShuriken |
The sparks shuriken. More... | |
LayerMask | ignoreLayer |
The track layer. This is useful to avoid damager agains the track, also if you are using simple physics you need to add here the layer of the surfaces the car would normally drive on, to avoid performance drops since the car is dragged on its collider. More... | |
float IRDSCarDamage.GetDemolutionRange | ( | ) |
Gets the demolution range.
float IRDSCarDamage.GetMaxMoveDelta | ( | ) |
Gets the max move delta.
float IRDSCarDamage.GetMaxNoiseDeform | ( | ) |
Gets the max noise deform.
float IRDSCarDamage.GetMaxRotationDelta | ( | ) |
Gets the max rotation delta.
float IRDSCarDamage.GetMinForce | ( | ) |
Gets the minimum force.
MeshCollider [] IRDSCarDamage.GetOptionalColliderList | ( | ) |
Gets the optional collider list.
Transform IRDSCarDamage.GetOptionalMeshList | ( | ) |
Gets the optional mesh list.
Transform [] IRDSCarDamage.GetOptionalTransformList | ( | ) |
Gets the optional transform list.
bool IRDSCarDamage.GetRepair | ( | ) |
Gets the repair.
float IRDSCarDamage.GetRepairDelta | ( | ) |
Gets the repair delta.
float IRDSCarDamage.GetYForceDamp | ( | ) |
Gets the Y force damp.
void IRDSCarDamage.SetDemolutionRange | ( | float | Value | ) |
Sets the demolution range.
Value | Value. |
void IRDSCarDamage.SetMaxMoveDelta | ( | float | Value | ) |
Sets the max move delta.
Value | Value. |
void IRDSCarDamage.SetMaxNoiseDeform | ( | float | Value | ) |
Sets the max noise deform.
Value | Value. |
void IRDSCarDamage.SetMaxRotationDelta | ( | float | Value | ) |
Sets the max rotation delta.
Value | Value. |
void IRDSCarDamage.SetMinForce | ( | float | Value | ) |
Sets the minimum force.
Value | Value. |
void IRDSCarDamage.SetOptionalColliderList | ( | MeshCollider[] | Value | ) |
Sets the optional collider list.
Value | Value. |
void IRDSCarDamage.SetOptionalMeshList | ( | Transform | Value | ) |
Sets the optional mesh list.
Value | Value. |
void IRDSCarDamage.SetOptionalTransformList | ( | Transform[] | Value | ) |
Sets the optional transform list.
Value | Value. |
void IRDSCarDamage.SetRepair | ( | bool | Value | ) |
Sets the repair.
Value | If set to true value. |
void IRDSCarDamage.SetRepairDelta | ( | float | Value | ) |
Sets the repair delta.
Value | Value. |
void IRDSCarDamage.SetYForceDamp | ( | float | Value | ) |
Sets the Y force damp.
Value | Value. |
bool IRDSCarDamage.disableDamage = false |
The disable damage.
LayerMask IRDSCarDamage.ignoreLayer |
The track layer. This is useful to avoid damager agains the track, also if you are using simple physics you need to add here the layer of the surfaces the car would normally drive on, to avoid performance drops since the car is dragged on its collider.
float IRDSCarDamage.lastSparksTime = 0 |
The last sparks time.
float IRDSCarDamage.maxMaxEnergy = 0.75f |
The max max energy.
float IRDSCarDamage.maxMaxSize = 0.1f |
The size of the max max.
float IRDSCarDamage.maxParticleEnergyFactor = 5000 |
The max particle energy factor.
float IRDSCarDamage.maxParticleSizeFactor = 5000 |
The max particle size factor.
int IRDSCarDamage.maxSparkShurikenParticles = 100 |
The max spark shuriken particles.
int IRDSCarDamage.minSparkShurikenParticles = 10 |
The minimum spark shuriken particles.
ParticleEmitter IRDSCarDamage.sparksEmitter |
The sparks emitter.
ParticleSystem IRDSCarDamage.sparksShuriken |
The sparks shuriken.
float IRDSCarDamage.sparksShurikenSpeedFactor = 5000f |
The sparks shuriken speed factor.
float IRDSCarDamage.sparksTime = 0.1f |
The sparks time.
float IRDSCarDamage.totalDamage = 0f |
The total damage.