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

◆ EnableCCD() [2/2]

proto external void Physics::EnableCCD ( float maxMotion,
float sphereCastRadius )
private

Changes state of the continuous collision detection (CCD). If both maxMotion and shapeCastRadius is >=0 then the CCD is enabled. If you want to disable it, use -1.

Аргументы
maxMotionMax motion threshold when sphere-cast is performed, to find time of impact. It should be little bit less than size of the geometry to catch the situation when tunneling can happen.
sphereCastRadiusThe radius of the largest possible sphere, that is completely inside the body geometry.