Move Pivot Points (Pro)

The Move Pivot tool provides precise control over GameObject pivot points and positioning within the Unity Editor, specifically designed for realvirtual automation components.

Overview

The Move Pivot tool is a specialized Unity Editor window that allows you to reposition GameObjects by aligning them to specific vertices, midpoints, or other objects' pivot points. This tool is particularly useful for precise positioning of automation components, sensors, and mechanical parts in industrial simulation environments.

This feature is only available in the realvirtual Professional version.

The tool supports two primary positioning methods:

  • Vertex-based positioning: Align objects to selected mesh vertices with single-point, two-point midpoint, or three-point center calculations

  • Object-to-object alignment: Position objects relative to other GameObjects' pivot points or geometric centers

💡 Hint The Move Pivot tool respects Unity's undo system, allowing you to safely experiment with different positioning configurations.

Opening the Tool

Access the Move Pivot tool through:

  • Menu: realvirtual > Move Pivot (Pro)

  • Quick Access: Available in the realvirtual quick tools menu or Scene View overlay

Move Pivot Overlay Button
Move Pivot tool accessible via Scene View overlay button

The tool automatically selects the currently highlighted GameObject in the Hierarchy as the primary object to move.

Move Pivot Tool Interface
Move Pivot tool interface showing object selection and positioning options

Properties

Object Selection

Object 1 (Target Object)

The GameObject that will be moved and repositioned.

  • Selection method: Automatically uses the currently selected GameObject, or click Reset to clear and manually select a new target

  • Visual feedback: The selected object is highlighted with visual indicators in the Scene View

Object 2 (Reference Object)

An optional reference GameObject for object-to-object alignment operations.

  • Selection method: Click Select Object2 and then click on the desired GameObject in the Scene View

  • Visual indicators:

    • RGB-colored axes display the object's pivot point

    • White-colored axes show the geometric center

Point Selection

Point 1, Point 2, Point 3

Individual vertex points selected from mesh geometry for precise positioning calculations.

  • Selection method: Click the respective point button, then click on mesh vertices in the Scene View

  • Visual feedback: Selected points are marked with colored gizmos

  • Precision: Zoom in on target areas for more accurate vertex selection

Editor Tools

Interactive Gizmos

The tool provides real-time visual feedback through colored gizmos:

  • Object highlighting: Target objects display selection indicators

  • Pivot visualization: Colored axes show current and proposed pivot positions

  • Point markers: Selected vertices are marked with distinct visual indicators

  • Alignment preview: Visual guides show the results of alignment operations

Scene View Integration

  • Click selection: Direct vertex and object selection in the Scene View

  • Hover feedback: Objects and vertices highlight when hoverable

  • Camera navigation: Full compatibility with Unity's Scene View navigation

Move Pivot Scene View
Move Pivot tool in action showing selected points, current pivot position, and visual gizmos in the Scene View

Usage Examples

Single Point Alignment

Position an object's pivot to a specific mesh vertex:

  1. Select the target GameObject in the Hierarchy

  2. Open realvirtual > Move Pivot (Pro)

  3. Click Point 1 to activate vertex selection mode

  4. Click on the desired vertex in the Scene View

  5. Use the alignment options to move the object's pivot to the selected point

Midpoint Positioning

Align an object between two vertices:

  1. Follow steps 1-2 from single point alignment

  2. Click Point 1 and select the first vertex

  3. Click Point 2 and select the second vertex

  4. Use the midpoint alignment option to position the object between the two points

Three-Point Center Alignment

Position an object at the geometric center of three vertices:

  1. Select your target GameObject and open the Move Pivot tool

  2. Select Point 1, Point 2, and Point 3 on different mesh vertices

  3. Apply the three-point center alignment to position the object at the calculated center

Three-Point Center Alignment
Three-point center alignment showing calculated center position from selected vertices

Object-to-Object Positioning

Align one object's pivot with another object's pivot or center:

  1. Select the target GameObject (Object 1)

  2. Click Select Object2 and choose the reference GameObject

  3. Choose between:

    • Pivot alignment: Aligns Object 1's pivot with Object 2's pivot point (RGB axes)

    • Center alignment: Aligns Object 1's pivot with Object 2's geometric center (white axes)

Tips and Best Practices

Precision Techniques

  • Zoom for accuracy: Use Scene View zooming to ensure precise vertex selection

  • Multiple angles: View selection areas from different angles to confirm correct vertex targeting

  • Grid snapping: Enable Unity's grid snapping for additional positioning precision

Workflow Optimization

  • Test before committing: Use Unity's undo system to experiment safely with different positioning options

  • Scene organization: Work with simplified scene views when positioning complex assemblies

  • Verification: Always verify the selected object and intended pivot point before applying changes

Complex Scenes

  • Object isolation: Use Unity's isolation mode for complex scenes with overlapping geometry

  • Layer management: Organize objects on different layers for easier selection

  • Naming conventions: Use clear GameObject names for easier identification during selection

Reset and Undo Operations

Reset Functionality

The Reset button clears all current selections and settings:

  • Deselects all point selections

  • Clears Object 1 and Object 2 references

  • Removes all visual gizmos and indicators

  • Returns the tool to its initial state

Undo Support

All Move Pivot operations are fully integrated with Unity's undo system:

  • Use Ctrl+Z (Windows) or Cmd+Z (Mac) to revert positioning changes

  • Multiple undo levels supported for complex positioning sequences

  • Undo history preserved across tool sessions

See Also

Last updated