|
staticprotected |
Returns approximated height(from terrain) of head in WS which takes the player's stance into account Preferred method over GetHeadBonePos variant which can be expensive on perf.
| player | Reference to player entity |
См. определение в файле MiscGameplayFunctions.c строка 759
Перекрестные ссылки PlayerConstants::HEAD_HEIGHT_CROUCH, PlayerConstants::HEAD_HEIGHT_ERECT и PlayerConstants::HEAD_HEIGHT_PRONE.
Используется в GetPlayerHeadPosition().