Document toolboxDocument toolbox

2023.1.1571.2 Cube Generator



Overview

Creates an mesh of a cube


Where to find

The feature can be found under Utility > Mesh Tools > Create Shape.


Feature Layout

Shape Type

Type of shape given to game objects.

  • Ellipse: Creates a ellipse of given radii for object.

  • Cube: Creates cube.

  • Cylinder: Creates cylinder.

Center

Center of the created of cube in world space.

Local Up Direction

The direction the local up is in (in this direction the y radius will be drawn).

Extends

Extends of the cube

Create Shape

Button to press to add shape to selected game objects


How to use

  1. Select game objects want to give a cube.

  2. Indicate where the center of the cube needs to be.

  3. Set local up direction to rotated the cube to correct orientation.

  4. Set the extents of the cube.

  5. Press Create Shape. Now the selected objects with Mesh Filter will have their meshes replaced with cube and rest will have a Mesh Filter added and puts the cube into that.

Cube mesh is stored in Resources/Colliders folder

There is no default renderer assigned

Prespective Documentation