LUADOC - Farming Simulator 17

Printable Version

onContactFunctionName

Description
This function is called when a contact event occurs.
Definition
onContactFunctionName(integer objectId, integer otherObjectId, boolean isStart, float normalForce, float tangentialForce)
Arguments
integerobjectIdid of the object
integerotherObjectIdid of the other object
booleanisStartis start touch
floatnormalForcenormal contact force
floattangentialForcetangential contact force