image-20240918-145633.png

The Justifier plug-in enables you to animate the justification of an object using the object’s height, width or depth as its coordinate system rather than using the Viz Artist/Engine coordinate system.

This plug-in acts on the local space of the container it is attached to. So a parent container can be used to rotate the container for use of arbitrary (world space) axes.

Note: This plug-in is located in: Plugins -> Container plug-ins -> Transformation

This section contains information on the following topics:

Justifier Properties

  • Align on X, Y and Z: Aligns the position. Left, Right and Center enables the Anchor option(s). Adv (advanced) enables the Anchor and Shift option(s).

    • X, Y and Z Anchor: Sets the offset for the alignment.

    • X, Y and Z Shift (%): Sets the shift of the position values to specify alignment between left/right, top/bottom and front/back (for example, an Anchor at 50.0, Shift at -10%, gives an Anchor at 45.0.). Range is -100 to 100.

  • Use rotated edges: If this is set to true and the container has been rotated, a new axis aligned bounding box is used to compute the alignment. (I.e. a non rotated bounding box completely containing the rotated container).

To Justify an Object

  1. Create a container that can only move up and down.

  2. Add the Justify plug-in on the container.

  3. Set Align on X to Center.

  4. Set Align on Z to Center. Now the container can only be moved along its y axis.

  5. Use the X Anchor and Z Anchor to move it along the respective axis.