LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

overlapSphere

Description
Overlap sphere objects
Definition
overlapSphere(float x, float y, float z, float radius, string overlapFunctionCallback, object targetObject)
Arguments
floatxcenter x
floatycenter y
floatzcenter z
floatradiusradius
stringoverlapFunctionCallbackoverlap function callback
objecttargetObjecttarget object (optional), the callback function is called as a member function of targetobject
Return Values
integernumShapesnumber of shape overlaps