4.5 Hammerable objects
Here we introduce the Transformer Hammerable. This component is used whenever an object needs to be moved along an axis using a hammer. In this example, we simulate a nail being driven into an object.Spawn a hammer into the scene using the Tool Spawner.

Next, go to the folder VRAssembling/meshes/tools/Screw_Nail_Sample and drag the 3D model of a nail into the scene."

Open the Transformer tab and select 'Hammerable' under Transformers. Then, fill out the remaining fields as shown below. Choose "Assembly and then hit the "Spawn" Button.

Now direct your attention to the Outliner. As you can see, we have now created a "part" and a "holo.

Select the "part" component and move it to the left.

In the next step, select the Holo Slot Part of the nail and then focus on the Details panel. In the Nail section, set the Target Nail Distance to 4, the Initial Nail Distance to 0, and the Distance per Force to 1.

To complete the nail process, add a new section using the Tasklist Editor.

Last updated