Constraint

../../../../_images/ui_comp_constraint.png

Relates the object’s transform to another object or the camera,
instead of (or in addition to) its own.
Useful for attaching, following, or billboarding objects.

Depending on the type selected, the point in time where this is applied may change.
In most cases it happens once during the update phase.
If a camera-type is selected it happens during draw,
so that a scene with multiple cameras is handled correctly.

The Copy Trans. (Camera) should therefore be used for things like sky-boxes.

Options

Option

Description

Type

The kind of constraint:
Copy Trans. (Object): copy the transform of a referenced object.
Copy Trans. (Camera): copy the active camera’s transform.
Relative Offset: keep a fixed offset relative to the referenced object.
Billboard Y: face the camera, rotating only around the Y axis.
Billboard Full: always fully face the camera.

Ref. Object

The object this constraint refers to (for the object-based types).

Position / Scale / Rotation

Which transform channels the constraint applies. Disable a channel to leave that part of the object’s own transform untouched.

See also