Setting up Grabbable Objects!

addam davis
2 min readFeb 9, 2024

Objective: Understand what goes into and create grabbable objects in your scene!

Being in a VR space feels infinitely more real when you can interact with the environment. The more basic interaction you can do is grab objects. In my current scene I have four basket balls on a table ready to be thrown.

To set up a basic grab interaction is simple. We first need to create a collider. We could use a mesh collider but those are expensive, instead we can get by with a simple sphere collider.

Great! We are half way there. While in the inspector we need to add another component this time we are adding an XR Grab interactable.

You will notice that Unity automatically added a rigidbody as well as the XR Grab Interactable. You have a plethora of options to create the exact grab ‘feel’ you are wanting to the perticular object you are grabbing. However, out of the box, you can now grab the object in question.

Don’t be afraid to experiment with your grabbable objects and I’ll see you in the next tutorial!