PhysicBox(Vector3 center, Vector3 halfExtents, Vector3 direction)
Constructs new PhysicBox.
Parameters:
Name | Type | Description |
---|---|---|
center | Vector3 | Center of the box. |
halfExtents | Vector3 | Half the size of the box in each dimension. |
direction | Vector3 | The direction in which to cast the box. |
Usage
---@type Vector3
local center;
---@type Vector3
local halfExtents;
---@type Vector3
local direction;
local physicbox = PhysicBox(center, halfExtents, direction);