![]() |
Dayz Explorer 1.28.160049
|
Go to the source code of this file.
Classes | |
| class | DayZPlayerCamera1stPerson |
Functions | |
| void | DayZPlayerCamera3rdPersonVehicle (DayZPlayer pPlayer, HumanInputController pInput) |
| override void | OnActivate (DayZPlayerCamera pPrevCamera, DayZPlayerCameraResult pPrevCameraResult) |
| override void | OnUpdate (float pDt, out DayZPlayerCameraResult pOutResult) |
| override vector | GetBaseAngles () |
| override vector | GetAdditiveAngles () |
Variables | |
| class DayZPlayerCamera1stPersonVehicle extends DayZPlayerCamera1stPerson | CONST_UD_MIN = -85.0 |
| down limit | |
| const float | UP_ANGLE_CAP = 10 |
| const float | CONST_LINEAR_VELOCITY_STRENGTH = 0.025 |
| const float | CONST_ANGULAR_VELOCITY_STRENGTH = 0.025 |
| const float | CONST_ANGULAR_LAG_YAW_STRENGTH = 4.0 |
| const float | CONST_ANGULAR_LAG_PITCH_STRENGTH = 1.5 |
| const float | CONST_ANGULAR_LAG_ROLL_STRENGTH = 0.5 |
| vector | m_CameraOffsetMS |
| runtime config | |
| float | m_fDistance |
| distance from start | |
| float | m_fUpDownAngle |
| runtime values | |
| float | m_fUpDownAngleAdd |
| up down angle in rad | |
| float | m_fLeftRightAngle |
| left right angle in rad | |
| float | m_fLeftRightAngleAdd |
| left right angle in rad | |
| vector | m_LagOffsetPosition |
| lag offsets | |
| vector | m_LagOffsetOrientation |
| float | m_fLagOffsetVelocityX [1] |
| float | m_fLagOffsetVelocityY [1] |
| float | m_fLagOffsetVelocityZ [1] |
| float | m_fLagOffsetVelocityYaw [1] |
| float | m_fLagOffsetVelocityPitch [1] |
| float | m_fLagOffsetVelocityRoll [1] |
| Transport | m_Transport |
| cache | |
| void DayZPlayerCamera3rdPersonVehicle | ( | DayZPlayer | pPlayer, |
| HumanInputController | pInput ) |
Definition at line 34 of file dayzplayercameravehicles.c.
| override vector GetAdditiveAngles | ( | ) |
Definition at line 211 of file dayzplayercameravehicles.c.
| override vector GetBaseAngles | ( | ) |
Definition at line 202 of file dayzplayercameravehicles.c.
| override void OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
| DayZPlayerCameraResult | pPrevCameraResult ) |
Definition at line 54 of file dayzplayercameravehicles.c.
| override void OnUpdate | ( | float | pDt, |
| out DayZPlayerCameraResult | pOutResult ) |
get player transform
get vehicle and set it as ignore entity for camera collision solver
update camera offset
orientation LS
create LS lag from vehicle velocities
smooth it!
setup orientation
setup position
setup rest
Definition at line 89 of file dayzplayercameravehicles.c.
| const float CONST_ANGULAR_LAG_PITCH_STRENGTH = 1.5 |
Definition at line 31 of file dayzplayercameravehicles.c.
| const float CONST_ANGULAR_LAG_ROLL_STRENGTH = 0.5 |
Definition at line 32 of file dayzplayercameravehicles.c.
| const float CONST_ANGULAR_LAG_YAW_STRENGTH = 4.0 |
Definition at line 30 of file dayzplayercameravehicles.c.
| const float CONST_ANGULAR_VELOCITY_STRENGTH = 0.025 |
Definition at line 28 of file dayzplayercameravehicles.c.
| const float CONST_LINEAR_VELOCITY_STRENGTH = 0.025 |
Definition at line 27 of file dayzplayercameravehicles.c.
| class DayZPlayerCamera1stPersonVehicle extends DayZPlayerCamera1stPerson CONST_UD_MIN = -85.0 |
down limit
|
protected |
|
protected |
distance from start
Definition at line 222 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 237 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 238 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 233 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 234 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 236 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 235 of file dayzplayercameravehicles.c.
|
protected |
left right angle in rad
Definition at line 227 of file dayzplayercameravehicles.c.
|
protected |
left right angle in rad
Definition at line 228 of file dayzplayercameravehicles.c.
|
protected |
|
protected |
up down angle in rad
Definition at line 226 of file dayzplayercameravehicles.c.
|
protected |
Definition at line 232 of file dayzplayercameravehicles.c.
|
protected |
lag offsets
Definition at line 231 of file dayzplayercameravehicles.c.
|
protected |
cache
Definition at line 241 of file dayzplayercameravehicles.c.
| const float UP_ANGLE_CAP = 10 |
Definition at line 22 of file dayzplayercameravehicles.c.