DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsAreaAtDoorFree()

override bool Transport::IsAreaAtDoorFree ( int currentSeat,
float maxAllowedObjHeight = 0.5,
float horizontalExtents = 0.5,
float playerHeight = 1.7 )
inlineprotected

См. определение в файле Car.c строка 110

111 {
112 vector transform[4];
113
114 vector extents;
115
116 extents[0] = horizontalExtents;
117 extents[1] = playerHeight;
118 extents[2] = horizontalExtents;
119
120 float speed = GetSpeedometerAbsolute();
121 if (speed > 8)
122 extents[2] = extents[2] * 6;
123 if (speed > 8)
124 extents[0] = 2;
125
126 return IsAreaAtDoorFree( currentSeat, maxAllowedObjHeight, extents, transform );
127 }
float GetSpeedometerAbsolute()
Returns the current speed of the vehicle in km/h. Value is absolute.
Определения Boat.c:53
override bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight=0.5, float horizontalExtents=0.5, float playerHeight=1.7)
Определения Car.c:110

Перекрестные ссылки GetSpeedometerAbsolute() и IsAreaAtDoorFree().

Используется в map< int, float >::DebugFreeAreaAtDoor(), map< int, float >::IsAreaAtDoorFree(), map< int, float >::IsAreaAtDoorFreeDiag() и map< int, float >::IsAreaAtDoorFreeDiag().