Center
The Center component (Auto-Center Objects) automatically centers its child objects at the origin, calculating the bounding box and adjusting position accordingly. Useful for imported models with off-center geometry.
This is ideal for:
- Centering imported models with off-center origins
- Consistent positioning across different models
- Ensuring rotation around visual center
- Comparing models side-by-side
Basic Example
This example demonstrates the core purpose of Center: automatically aligning models at the origin. It loads three models side-by-side - two centered and one not centered - so you can see the difference. Centered models align at their visual center, making comparison and rotation more intuitive.
Key Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
top | bool | False | Align to top edge instead of center on Y axis |
right | bool | False | Align to right edge instead of center on X axis |
bottom | bool | False | Align to bottom edge instead of center on Y axis |
left | bool | False | Align to left edge instead of center on X axis |
front | bool | False | Align to front edge instead of center on Z axis |
back | bool | False | Align to back edge instead of center on Z axis |
disable | bool | False | Disable centering on all axes |
disableX | bool | False | Disable centering on X axis |
disableY | bool | False | Disable centering on Y axis |
disableZ | bool | False | Disable centering on Z axis |
precise | bool | True | Use precise boundary box calculation |
How It Works
- Calculate bounding box - Find min/max extents of all geometry
- Compute center - Calculate center point of bounding box
- Apply offset - Translate object so center aligns with origin
Result: Models with off-center origins are automatically aligned at their visual center.
You can control centering behavior using alignment flags (top, bottom, left, right, front, back) or disable centering on specific axes (disableX, disableY, disableZ).