Groups – Entities

Groups – Entities

Behavior of Entities

Entities have like groups. When you move an entity all child elements are moved too. Die position of the child elements are always relative to the parent object, the entity.

In this example, the entity is placed on position 5 of the x axes. This is an absolute position in the space.

The first box (a child of the entity) is placed relative to the entity -1 on the x axes. It means,  it has an absolute position in the space of 4 (5-1) on the x axis.

The second box (also a child of the entity) is placed relative to the entity +1 on the x axes. It means,  it has an absolute position in the space of 6 (5+1) on the x axis.

The two blue boxes are just to control the position of the two child elements (green and red). They are placed at position 4 and 6 on the x axes.


Comments are closed.