box
box(
options):BoxShape
A box of full extents size, [width, height, depth] in metres.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
{ size: Triple; } |
options.size |
Triple |
Returns
Section titled “Returns”Example
Section titled “Example”collider: { shape: box({ size: [6, 2, 1] }) }