LUADOC - Farming Simulator 22

Script v1_7_1_0

Engine v1_7_1_0

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, boolean async)
Arguments
floatxx
floatyy
floatzz
floatrxrx
floatryry
floatrzrz
floatexex
floateyey
floatezez
stringoverlapFunctionCallbackoverlapFunctionCallback
objecttargetObjecttargetObject (optional)
integercollisionMaskcollisionMask [optional, default=ALL_BITS]
booleanincludeDynamicsincludeDynamics [optional, default=true]
booleanincludeStaticsincludeStatics [optional, default=true]
booleanexactTestexactTest [optional, default=false]
booleanasyncif true, callback will be called in the next frame and calculations will be done in a background thread [optional, default=false]
Return Values
integernumShapesnumShapes