Aligning Rigid Body Pivot Point with a Replicated 3D Model

Main PageAligning Rigid Body Pivot Point with a Replicated 3D Model

Introduction

When using streamed rigid body data to animate a real-life replicate 3D model, the alignment of the pivot point is necessary. In other words, the location of the rigid body pivot coincides with the location of the pivot point in the corresponding 3D model. If they are not aligned accurately, the animated motion will not be in a 1:1 ratio compared to the actual motion. This alignment is commonly needed for real-time VR applications where real-life objects are 3D modeled and animated in the scene. The suggested approaches for aligning these pivot points will be discussed on this page.

Aligning Rigid Body Pivot Point[edit]


There are two methods for doing this. Using a measurement probe to sample 3D points to reference from, or simply using a reference grayscale view to align. The first method of creating and using a measurement probe is most accurate and recommended.

Method 1: Using Measurement Probe Feature[edit]

Step 1. Create a rigid body of the target object[edit]

First of all, create a rigid body from the markers on the target object. By default, the pivot point of the rigid body will be positioned at the geometrical center of the marker placement. Then place the object onto somewhere stable where it will stay stationary.

Step 2. Create a measurement probe.[edit]

For instructions on creating a measurement probe, please refer to Measurement Probe page. You can purchase our probe or create your own. All you need is 4 markers with a static relationship to a projected tip.

Step 3. Collect data points to outline the silhouette[edit]

Use the created measurement probe to collect sample data points that outlines the silhouette of your object. Mark all of the corners and other key features on the object.

Align3D 1.png

Step 4. Attach 3D model[edit]

After 3D data points have been generated using the probe, attach your game geometry (obj file) to the rigid body by turning on the Model Replace property and importing the geometry under Attached Geometry property.

Align3D 2.png

Info2.png

From the sampled 3D points, You can also export markers created from the probe to Maya or other content creation packages to generate models guaranteed to scale correctly.

Step 5. Translate the pivot point[edit]

Next step is to translate the 3D model so that the attached model aligns with the silhouette sample that we collected in Step 3. The model can be easily translated and rotated using the GIZMO tool. Move, rotate, and scale the asset unit it is aligned with the silhouette.

For accurate alignment, it will be easier to decrease the size of the marker visual. This can be changed from the Marker Diameter setting under the application settings panel.

Align3D 3.png

Step 6. Copy transformation values[edit]

After you have translated, rotated, and scaled the pivot point of the rigid body to align the attached 3D model with the sampled data points, the transformation values will be shown under the Attached Geometry property.

Copy and paste this transformation parameter onto the rigid body location and orientation options under the Edit tab in the Builder pane. This will translate the pivot point of the rigid body in Motive, and align it with the pivot point of the 3D model.

Step 7. Zero all transformation values in the Attached Geometry section[edit]

Once the rigid body pivot point has been moved using the Builder pane, zero all of the transformation configurations under the Attached Geometry property for the rigid body.

Align3D 4.png

Method 2: Using Reference Grayscale View[edit]

Alternatively, if probe method is not applicable, you can also switch one of the camera into the grayscale view, and reference the rigid body overlay in the Reference View pane to align the rigid body pivot using the similar approach as above.

Align3D 5.png