Previously we saw how to set up a Unity project to work with the Oculus Passthrough API. If you haven’t checked out the first part of this series, we highly recommend checking it out as the API will not work without the correct setting.
In this blog, we’ll learn how to develop a scene implementing AR with passthrough. We’ll see the different components that are required for passthrough, set up the camera rig, and finally create an augmented interactable object. So let's begin!
In this section, we’ll see all the components that we require in order to make the Passthrough work and set up our scene as well.
In this section, we’ll add a few more components/prefabs to the scene. After which we’ll have VR controllers that can interact with the cube.
Adding VR Controllers
Adding Grab Feature to VR Controllers
💡 Note: Make sure to check ✅ the `Is Trigger` for both the spherical colliders
Making the Cube Grabbable
Now you can test the scene by playing the press button.
So we have seen how you can add GameObject to the scene and make it interactable. This is just the beginning of the journey to work with mixed reality. There are many other features that you can use to create different experiences. In the next blog, we’ll see how we can customize the Passthrough filter.
If you've enjoyed the insights shared here, why not spread the word? Share the post with your friends and colleagues who might also find it valuable.
Your support means the world to us and helps us create more content you'll love.