iRDS - Intelligent Race Driver System
V 2.1.0.5
|
Public Member Functions | |
Transform | GetTarget () |
Gets the target. More... | |
void | ActivateRoadCamera () |
Activates the road myCamera. More... | |
void | DeactivateRoadCamera () |
Deactivates the road myCamera. More... | |
void | AddOpponent (IRDSCarControllInput newOpp) |
Adds the opponent. This methos is for internal call, and should not be used directly. More... | |
bool | RemoveOpponent (IRDSCarControllInput Opp) |
Removes the opponent. This methos is for internal call, and should not be used directly. More... | |
float | GetHeight () |
Gets the height. More... | |
void | SetHeight (float val) |
Sets the height. More... | |
float | GetHeightDamping () |
Gets the height damping. More... | |
void | SetHeightDamping (float val) |
Sets the height damping. More... | |
float | GetRotationDamping () |
Gets the rotation damping. More... | |
void | SetRotationDamping (float val) |
Sets the rotation damping. More... | |
float | GetDistance () |
Gets the distance. More... | |
void | SetDistance (float val) |
Sets the distance. More... | |
void | Initialize () |
void | changeTarget () |
Changes the target. More... | |
void | ChangeToPlayerCar () |
Changes to player car. More... | |
void | changeTarget (int instanceID) |
Changes the target. More... | |
void | changeTargetbyPosition () |
Changes the target by position. More... | |
void | changeTargetbyPositionBackwards () |
Changes the target by position backwards. More... | |
Transform | changeView () |
Changes the view. More... | |
Transform | changeView (string preferred) |
Changes the view. More... | |
Public Attributes | |
float | delayStartTime = 0 |
The delay start time. More... | |
bool | freeCamera = false |
The free myCamera. More... | |
bool | forceFreeCamera = false |
The force free myCamera. More... | |
int | zoomFactorMin = 5 |
The zoom factor minimum. More... | |
int | zoomFactorMax = 25 |
The zoom factor max. More... | |
int | zoomingDistance = 100 |
The zooming distance. More... | |
float | initialViewSpeed = 50f |
The initial view speed. More... | |
bool | isColliding = false |
The is colliding. More... | |
bool | overrideRotation = false |
The override rotation. More... | |
bool | overrideLookAt = false |
The override look at. More... | |
bool | overridePosition = false |
The override position. More... | |
bool | overrideFieldOfView = false |
The override field of view. More... | |
bool | overrideCollisionCorrection = false |
The override collision correction. More... | |
Vector3 | distanceSides = Vector3.zero |
The distance sides. More... | |
float | sidesDamping = 0f |
The sides damping. More... | |
bool | activateDampingSpeed = false |
The activate damping speed. More... | |
float | dampingSpeedMultiplierMin = 0.1f |
The damping speed multiplier minimum. More... | |
float | dampingSpeedMultiplierMax = 1f |
The damping speed multiplier max. More... | |
float | dampingMinSpeed = 5f |
The damping minimum speed. More... | |
float | dampingMaxSpeed = 20f |
The damping max speed. More... | |
float | currentDampingSpeedMultiplier =0f |
The current damping speed multiplier. More... | |
Vector3 | externalRotation = Vector3.zero |
The external rotation. More... | |
bool | useTargetUpVector = false |
The use target up vector. More... | |
bool | runCameraInFixedUpdate = false |
The run camera in fixed update. If this is enabled the late update code would get run in the fixed update loop. This is useful to work out somo jittering on networking games. More... | |
void IRDSCarCamera.ActivateRoadCamera | ( | ) |
Activates the road myCamera.
void IRDSCarCamera.AddOpponent | ( | IRDSCarControllInput | newOpp | ) |
Adds the opponent. This methos is for internal call, and should not be used directly.
newOpp | New opp. |
void IRDSCarCamera.changeTarget | ( | ) |
Changes the target.
void IRDSCarCamera.changeTarget | ( | int | instanceID | ) |
Changes the target.
instanceID | Instance ID. This instance ID needs to be from the class IRDSCarControllInput, you can get it by using IRDSCarControllInput carInput; carInput.GetInstanceID(); |
void IRDSCarCamera.changeTargetbyPosition | ( | ) |
Changes the target by position.
void IRDSCarCamera.changeTargetbyPositionBackwards | ( | ) |
Changes the target by position backwards.
void IRDSCarCamera.ChangeToPlayerCar | ( | ) |
Changes to player car.
Transform IRDSCarCamera.changeView | ( | ) |
Changes the view.
Transform IRDSCarCamera.changeView | ( | string | preferred | ) |
Changes the view.
preferred | Preferred. |
void IRDSCarCamera.DeactivateRoadCamera | ( | ) |
Deactivates the road myCamera.
float IRDSCarCamera.GetDistance | ( | ) |
Gets the distance.
float IRDSCarCamera.GetHeight | ( | ) |
Gets the height.
float IRDSCarCamera.GetHeightDamping | ( | ) |
Gets the height damping.
float IRDSCarCamera.GetRotationDamping | ( | ) |
Gets the rotation damping.
Transform IRDSCarCamera.GetTarget | ( | ) |
Gets the target.
bool IRDSCarCamera.RemoveOpponent | ( | IRDSCarControllInput | Opp | ) |
Removes the opponent. This methos is for internal call, and should not be used directly.
true
, if opponent was removed, false
otherwise.Opp | Opp. |
void IRDSCarCamera.SetDistance | ( | float | val | ) |
Sets the distance.
val | Value. |
void IRDSCarCamera.SetHeight | ( | float | val | ) |
Sets the height.
val | Value. |
void IRDSCarCamera.SetHeightDamping | ( | float | val | ) |
Sets the height damping.
val | Value. |
void IRDSCarCamera.SetRotationDamping | ( | float | val | ) |
Sets the rotation damping.
val | Value. |
bool IRDSCarCamera.activateDampingSpeed = false |
The activate damping speed.
float IRDSCarCamera.currentDampingSpeedMultiplier =0f |
The current damping speed multiplier.
float IRDSCarCamera.dampingMaxSpeed = 20f |
The damping max speed.
float IRDSCarCamera.dampingMinSpeed = 5f |
The damping minimum speed.
float IRDSCarCamera.dampingSpeedMultiplierMax = 1f |
The damping speed multiplier max.
float IRDSCarCamera.dampingSpeedMultiplierMin = 0.1f |
The damping speed multiplier minimum.
float IRDSCarCamera.delayStartTime = 0 |
The delay start time.
Vector3 IRDSCarCamera.distanceSides = Vector3.zero |
The distance sides.
Vector3 IRDSCarCamera.externalRotation = Vector3.zero |
The external rotation.
bool IRDSCarCamera.forceFreeCamera = false |
The force free myCamera.
bool IRDSCarCamera.freeCamera = false |
The free myCamera.
float IRDSCarCamera.initialViewSpeed = 50f |
The initial view speed.
bool IRDSCarCamera.isColliding = false |
The is colliding.
bool IRDSCarCamera.overrideCollisionCorrection = false |
The override collision correction.
bool IRDSCarCamera.overrideFieldOfView = false |
The override field of view.
bool IRDSCarCamera.overrideLookAt = false |
The override look at.
bool IRDSCarCamera.overridePosition = false |
The override position.
bool IRDSCarCamera.overrideRotation = false |
The override rotation.
bool IRDSCarCamera.runCameraInFixedUpdate = false |
The run camera in fixed update. If this is enabled the late update code would get run in the fixed update loop. This is useful to work out somo jittering on networking games.
float IRDSCarCamera.sidesDamping = 0f |
The sides damping.
bool IRDSCarCamera.useTargetUpVector = false |
The use target up vector.
int IRDSCarCamera.zoomFactorMax = 25 |
The zoom factor max.
int IRDSCarCamera.zoomFactorMin = 5 |
The zoom factor minimum.
int IRDSCarCamera.zoomingDistance = 100 |
The zooming distance.