Skip to main content

Physics.CheckBox(PhysicBox physicBox)

Check whether the given box overlaps with other colliders or not.

Parameters:

NameTypeDescription
physicBoxPhysicBoxThe physic box. The direction field of the PhysicBox will be ignored, so can be a nil.

Returns:

typeDescription
booleanTrue, if the box overlaps with any colliders.

Usage

---@type PhysicBox
local physicBox;


local val0 = Physics:CheckBox(physicBox)