DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | DayZPlayerCamera1stPerson |
void DayZPlayerCamera3rdPersonVehicle | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Definition at line 33 of file DayZPlayerCameraVehicles.c.
References m_CameraOffsetMS, m_fDistance, and m_Transport.
Referenced by DayZPlayerCameras::RegisterCameras().
Definition at line 150 of file DayZPlayerCameraVehicles.c.
References DayZPlayerCameraBase::m_fLeftRightAngleAdd, and DayZPlayerCameraBase::m_fUpDownAngleAdd.
Definition at line 141 of file DayZPlayerCameraVehicles.c.
References DayZPlayerCameraBase::m_fLeftRightAngle, and DayZPlayerCameraBase::m_fUpDownAngle.
override void OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
DayZPlayerCameraResult | pPrevCameraResult ) |
Definition at line 53 of file DayZPlayerCameraVehicles.c.
References m_fLagOffsetVelocityX, m_fLagOffsetVelocityY, m_fLagOffsetVelocityZ, m_fLeftRightAngle, m_fLeftRightAngleAdd, m_fUpDownAngle, m_fUpDownAngleAdd, m_LagOffsetPosition, and vector::Zero.
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 72 of file DayZPlayerCameraVehicles.c.
References CONST_ANGULAR_LAG_PITCH_STRENGTH, CONST_ANGULAR_LAG_ROLL_STRENGTH, CONST_ANGULAR_LAG_YAW_STRENGTH, CONST_ANGULAR_VELOCITY_STRENGTH, CONST_LINEAR_VELOCITY_STRENGTH, CONST_LR_MAX, CONST_LR_MIN, CONST_UD_MAX, CONST_UD_MIN, dBodyGetAngularVelocity(), GetCurrentOrientation(), GetGame(), GetVelocity(), DayZPlayerCameraBase::m_CameraOffsetMS, m_CurrentCameraPitch, m_CurrentCameraRoll, m_CurrentCameraYaw, DayZPlayerCameraBase::m_fDistance, m_fLagOffsetVelocityPitch, m_fLagOffsetVelocityRoll, m_fLagOffsetVelocityX, m_fLagOffsetVelocityY, m_fLagOffsetVelocityYaw, m_fLagOffsetVelocityZ, m_fLeftRightAngle, m_fLeftRightAngleAdd, m_fUpDownAngle, m_fUpDownAngleAdd, m_LagOffsetOrientation, m_LagOffsetPosition, m_pPlayer, m_Transport, Math::RAD2DEG, Math::SmoothCD(), StdFovUpdate(), UpdateLRAngleUnlocked(), UpdateUDAngleUnlocked(), Math3D::YawPitchRollMatrix(), and vector::Zero.
Definition at line 30 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
Definition at line 31 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
Definition at line 29 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
Definition at line 27 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
Definition at line 26 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
up limit
Definition at line 24 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::OnUpdate().
down limit
Definition at line 23 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::OnUpdate().
up limit
Definition at line 21 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::OnUpdate().
class DayZPlayerCamera1stPersonVehicle extends DayZPlayerCamera1stPerson CONST_UD_MIN = -85.0 |
down limit
Referenced by DayZPlayerCameraBase::OnUpdate().
|
protected |
|
protected |
distance from start
Definition at line 161 of file DayZPlayerCameraVehicles.c.
|
protected |
Definition at line 176 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
|
protected |
Definition at line 177 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
|
protected |
Definition at line 172 of file DayZPlayerCameraVehicles.c.
Referenced by OnActivate(), and OnUpdate().
|
protected |
Definition at line 173 of file DayZPlayerCameraVehicles.c.
Referenced by OnActivate(), and OnUpdate().
|
protected |
Definition at line 175 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
|
protected |
Definition at line 174 of file DayZPlayerCameraVehicles.c.
Referenced by OnActivate(), and OnUpdate().
|
protected |
left right angle in rad
Definition at line 166 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::GetBaseAngles(), DayZPlayerCameraBase::OnActivate(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
left right angle in rad
Definition at line 167 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::GetAdditiveAngles(), DayZPlayerCameraBase::OnActivate(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
runtime values
up down angle in rad
Definition at line 164 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::GetBaseAngles(), DayZPlayerCameraBase::OnActivate(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
up down angle in rad
Definition at line 165 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCameraBase::GetAdditiveAngles(), DayZPlayerCameraBase::OnActivate(), and DayZPlayerCameraBase::OnUpdate().
|
protected |
Definition at line 171 of file DayZPlayerCameraVehicles.c.
Referenced by OnUpdate().
|
protected |
lag offsets
Definition at line 170 of file DayZPlayerCameraVehicles.c.
Referenced by OnActivate(), and OnUpdate().
|
protected |
cache
Definition at line 180 of file DayZPlayerCameraVehicles.c.
Referenced by DayZPlayerCamera3rdPersonVehicle(), and OnUpdate().