Group
The Group component (Grouping Objects) organizes multiple objects together, applying transforms (position, rotation, scale) to all children at once. Essential for managing complex hierarchies and coordinated movement.
This is ideal for:
- Applying a single transform to multiple objects
- Moving/rotating/scaling objects together as a unit
- Creating object hierarchies
- Building reusable composite structures
Basic Example
This example shows the core purpose of Group: transforming multiple objects together. The group contains a box and sphere. When we animate the group's rotation, both objects rotate together around the group's origin.
How It Works
When you apply a transform to a Group:
- Each child keeps its local position/rotation/scale relative to the group
- The group's transform is applied to all children together
- Final position = group transform @ child local transform
Example: A box at [1, 0, 0] inside a group at [5, 0, 0] → final position: [6, 0, 0]