Some time in 2016, I worked on a short VR experience for Fractured Reality Studios. This was an in-house week long “jam”. At the end of the week, we had a simple building game which allowed players to wireframe anything they could think of and build. Michael Volpa created all of the art, save the Vive controller model, while I wrote the game code. More on that below the video.
Below/in the linked post is a short sample from the base pickup class in Paper Park. The primary purpose of the code snippet is to demonstrate style, but you can also see how I handled the snapping of objects together.