LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

overlapBox

Description
Overlap box objects
Definition
overlapBox(float x, float y, float z, float rx, float ry, float rz, float ex, float ey, float ez, string overlapFunctionCallback, object targetObject, integer collisionMask, boolean includeDynamics, boolean includeStatics, boolean exactTest)
Arguments
floatxcenter x
floatycenter y
floatzcenter z
floatrxrotation x
floatryrotation y
floatrzrotation z
floatexextent x
floateyextent y
floatezextent z
stringoverlapFunctionCallbackoverlap function callback
objecttargetObjecttarget object (optional), the callback function is called as a member function of targetobject
integercollisionMaskcollisionMask
booleanincludeDynamicsinclude dynamics
booleanincludeStaticsinclude statics
booleanexactTestexact test
Return Values
integernumShapesnumber of shape overlaps