arrows-to-dot4.2 Disassembly

In the folder VRAssembling/Meshes/Tools/Screw_Nail_Sample, you will find a 3D model named Nail. Drag this model into the viewport and place it at the edge of the table.It should look as follows.

Now we start the URealXR Toolset and navigate to the "Transformer" tab. To do this, go to the Editor folder and right-click on "Start". Then select "Run Editor Utility Widget".

On the right side, we select our desired Transformer — in this case, the Hammerables. Directly below, under the "Selected" section, we can see our current selection in the viewport — in this case, the Nail.

Now we move to the other side. Under Common / Slot Name, we can enter any name that best describes the object — in our case, we’ll use "Nail".

Click the "Disassembly" button to create a disassembly this time.

"Disassembly" represents the opposite situation: the Nail is already placed and needs to be removed by the user.

We keep all the other values default.

Finally, click the "Spawn" button.

Switch to the viewport and take a look at the Outliner.

Here again, two objects have been created — a Part and a Holo. However, this time the two elements are nested together. You can recognize this by the fact that the Part is indented beneath the Holo in the hierarchy.

In technical terms, this means that the Part is a child of the Holo.

Select the holo and the part, and move both upwards so that the head of the nail hovers slightly above the edge of the table.

  • 3_BP_Part_Hammerable: This serves as the interactable object for the VR user. It can be grabbed and moved.

  • 3_BP_Slot_Holo_Hammerable: This acts as a placement guide. The task is only considered complete once the part is correctly placed in the hologram.

If you now start the VR Preview and try to remove the nail, you'll notice that it doesn't work yet. As always, the assignment must first be made via the Tasklist Editor.

Follow the same steps as shown in the previous example, and then restart the VR Preview.

Your entries in the Tasklist Editor should look as follows:

To remove the nail in VR, you need to rotate the hammer by 180 degrees and use the front side to pull the nail out.

Try the VR Preview again — you should now be able to remove the nail successfully.

Last updated