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

◆ dBodyEnableCCD()

proto native void dBodyEnableCCD ( notnull IEntity body,
float maxMotion,
float sphereCastRadius )

If both maxMotion and shapeCastRadius is >=0 then the continuous collision detection 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 tunelling can happen
sphereCastRadiusThe radius of the largest possible sphere, that is completelly inside the body geometry.