Skip to main content

Physics.BoxCastAll(PhysicBox physicBox)

Like Physics.BoxCast, but returns all hits.

Parameters:

NameTypeDescription
physicBoxPhysicBoxThe Physic Box to cast.

Returns:

typeDescription
RaycastHit[]All colliders that were hit.

Usage

---@type PhysicBox
local physicBox;


local val0 = Physics:BoxCastAll(physicBox)