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

◆ OnContact()

void Transport::OnContact ( string zoneName,
vector localPos,
IEntity other,
Contact data )
inlineprotected

Is called every time when vehicle collides with other object.

Аргументы
[in]zoneNameconfigured vehicle's zone that was hit
[in]localPosposition where the vehicle was hit in vehicle's space
[in]otherobject with which the vehicle is colliding
[in]datacontact properties

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

435{}