Difference between revisions of "QW physics ground ru"
From QWiki
*>Sss (New page: qw ground) |
*>Sss |
||
Line 1: | Line 1: | ||
− | + | Разгон на земле. | |
+ | Здесь появляется трение f. | ||
+ | f = 4 в TDM и 6 в TF. | ||
+ | |||
+ | [[Image:Addspeed ground.png]] | ||
+ | |||
+ | Результаты. | ||
+ | |||
+ | Правильный старт. Стартуем прямо, не поворачивая (cos(gamma) = 1). | ||
+ | За один фрейм до достижения скорости v_max (достигнув скорость v1 = v_max * (1-a*T)/(1-f*T)), | ||
+ | начинаем поворачивать: cos(gamma_best) = [(1 - a * T)/ (1 - f * T)] * V_max / v. | ||
+ | |||
+ | Достигаем скорость v_ultimate = v_max * sqrt((a / f) * [(2 - a * T) / (2 - f * T)]) | ||
+ | |||
+ | cos(gamma) при этом уменьшается до [(1 - a * T)/ (1 - f * T)] * sqrt((a / f) * [(2 - a * T) / (2 - f * T)]) = | ||
+ | = 0.592, gamma = 53.7 градусов в TDM. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Ultimate ground speed | ||
+ | <pre> | ||
+ | ------------------------------------------------------------------------- | ||
+ | | type | v_max | ultimate ground speed | | ||
+ | | | |-------------------------------| | ||
+ | | | | 72fps | 77fps | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | tdm player | 320 | 494.9 | 495.7 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | scout | 450 | 572.4 | 573.0 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | sniper | 300 | 381.6 | 382.0 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | soldier | 240 | 305.3 | 305.6 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | demoman | 280 | 356.2 | 356.6 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | medic | 320 | 407.0 | 407.5 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | hwguy | 230 | 292.6 | 292.9 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | pyro | 300 | 381.6 | 382.0 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | spy | 300 | 381.6 | 382.0 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | engineer | 300 | 381.6 | 382.0 | | ||
+ | |-----------------------------------------------------------------------| | ||
+ | | civilian | 240 | 305.3 | 305.6 | | ||
+ | ------------------------------------------------------------------------- | ||
+ | </pre> |
Revision as of 17:17, 27 February 2010
Разгон на земле. Здесь появляется трение f. f = 4 в TDM и 6 в TF.
Результаты.
Правильный старт. Стартуем прямо, не поворачивая (cos(gamma) = 1). За один фрейм до достижения скорости v_max (достигнув скорость v1 = v_max * (1-a*T)/(1-f*T)), начинаем поворачивать: cos(gamma_best) = [(1 - a * T)/ (1 - f * T)] * V_max / v.
Достигаем скорость v_ultimate = v_max * sqrt((a / f) * [(2 - a * T) / (2 - f * T)])
cos(gamma) при этом уменьшается до [(1 - a * T)/ (1 - f * T)] * sqrt((a / f) * [(2 - a * T) / (2 - f * T)]) = = 0.592, gamma = 53.7 градусов в TDM.
Ultimate ground speed
------------------------------------------------------------------------- | type | v_max | ultimate ground speed | | | |-------------------------------| | | | 72fps | 77fps | |-----------------------------------------------------------------------| | tdm player | 320 | 494.9 | 495.7 | |-----------------------------------------------------------------------| | scout | 450 | 572.4 | 573.0 | |-----------------------------------------------------------------------| | sniper | 300 | 381.6 | 382.0 | |-----------------------------------------------------------------------| | soldier | 240 | 305.3 | 305.6 | |-----------------------------------------------------------------------| | demoman | 280 | 356.2 | 356.6 | |-----------------------------------------------------------------------| | medic | 320 | 407.0 | 407.5 | |-----------------------------------------------------------------------| | hwguy | 230 | 292.6 | 292.9 | |-----------------------------------------------------------------------| | pyro | 300 | 381.6 | 382.0 | |-----------------------------------------------------------------------| | spy | 300 | 381.6 | 382.0 | |-----------------------------------------------------------------------| | engineer | 300 | 381.6 | 382.0 | |-----------------------------------------------------------------------| | civilian | 240 | 305.3 | 305.6 | -------------------------------------------------------------------------