Table of Contents

Method HollowBox

Namespace
Box3D
Assembly
Box3D.NET.dll

HollowBox(Vector3, Vector3)

Builds a hollow box, useful as a container that things fall into.

public static CollisionMesh HollowBox(Vector3 center, Vector3 extents)

Parameters

center Vector3

The centre of the box.

extents Vector3

The half-widths of the box.

Returns

CollisionMesh

The mesh.