Menu
Lumberyard
User Guide (Version 1.13)

Creating a Slice

A slice can contain any number of entities that have their own transform hierarchy. The slice, however, must have a single transform root. This means that you can change the size and position of child entities without affecting the parent entity. But if you change the size or position of the parent entity, the child entities automatically adjust as well.

To create a slice

  1. In the viewport or in the Entity Outliner, select one or more entities to include in the slice.

  2. Right-click in the viewport or in the Entity Outliner and choose Create slice.

  3. Save the slice file to the preferred location.

    You can create slices for many different purposes. Name your slices meaningfully and organize them into directories and subdirectories.

To save multiple entities in a slice, they must have a single transform root. If they don't, then a "Cannot Create Slice" message appears. To fix this issue, assign all entities in the slice to one parent entity.

To assign entities to a new parent entity

  1. Open Entity Outliner. Or use the viewport for this procedure.

  2. Right-click in the viewport or in Entity Outliner and then choose Create entity.

    This creates a new, empty entity which will serve as the parent entity.

  3. Do one of the following:

    • Within Entity Outliner, drag the child entities and drop them on top of the new parent entity.

    • Select one or more entities that are to be the child entities. In the Entity Inspector, within the Transform component, beside Parent Entity, click the picker (hand icon). Then click the parent entity in the viewport.

    • Select one or more entities that are to be the child entities. From the Entity Outliner, drag the parent entity into the Entity Inspector and drop it beneath the Transform component into the Parent Entity box.