◆ DayZPlayerCamera3rdPersonErcSpr()
257 {
258
259
264
267 {
268 Print(
"DayZPlayerCamera3rdPersonErcSpr: hips bone not found");
269 }
270
272 }
vector m_CameraOffsetMS
model space offset
Definition DayZPlayerCamera3rdPerson.c:301
float m_fShoulderWidth
shoulder camera widths
Definition DayZPlayerCamera3rdPerson.c:304
float m_fDistance
distance from start
Definition DayZPlayerCamera3rdPerson.c:303
vector m_CameraOffsetLS
local space offset
Definition DayZPlayerCamera3rdPerson.c:302
int m_iPelvisBone
Definition DayZPlayerCamera3rdPerson.c:297
float m_fTime
Definition DayZPlayerCamera3rdPerson.c:298
proto void Print(void var)
Prints content of variable to console/log.
Перекрестные ссылки m_CameraOffsetLS, m_CameraOffsetMS, m_fDistance, m_fShoulderWidth, m_fTime, m_iPelvisBone и Print().
◆ DayZPlayerCamera3rdPersonJump()
runtime config
runtime values
189 {
190
191
195
200 }
float m_fDamping
Definition DayZPlayerCamera3rdPerson.c:227
float m_fDelay
runtime config
Definition DayZPlayerCamera3rdPerson.c:226
float m_fDelayTimer
runtime values
Definition DayZPlayerCamera3rdPerson.c:230
float m_fJumpStartY
Definition DayZPlayerCamera3rdPerson.c:231
float m_fJumpOffset
Definition DayZPlayerCamera3rdPerson.c:232
Перекрестные ссылки m_fDamping и m_fDelay.
◆ OnUpdate() [1/2]
204 {
206
210
212 {
215 }
216 else
217 {
219 }
220
223 }
float m_jumpOffsetVelocity[1]
Definition DayZPlayerCamera3rdPerson.c:233
DayZPlayer m_pPlayer
data
Definition dayzplayer.c:135
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float SmoothCD(float val, float target, inout float velocity[], float smoothTime, float maxVelocity, float dt)
Does the CD smoothing function - easy in | easy out / S shaped smoothing.
Перекрестные ссылки Math::Clamp(), m_fDelay, m_fDelayTimer, m_fJumpStartY и m_pPlayer.
◆ OnUpdate() [2/2]
basically -> transform up vector (0,1,0) and read x coord -> and set is as roll
prev update
278 {
280
282
287
288
289
292
293
294 }
float m_CurrentCameraRoll
Definition DayZPlayerCamera_Base.c:580
Definition EnConvert.c:106
Перекрестные ссылки m_fTime.
◆ m_fDamping
◆ m_fDelay
◆ m_fDelayTimer
◆ m_fJumpOffset
◆ m_fJumpStartY
◆ m_fTime
◆ m_iPelvisBone
◆ m_jumpOffsetVelocity
float m_jumpOffsetVelocity[1] |
|
private |
Объявления и описания членов класса находятся в файле: