VR interaction design: grabbing, throwing and using objects
By the Turbl team · · 11 min read
Good VR interaction design makes three things predictable: what you can grab, how the object sits in your hand, and where it goes when you let go. The usual defaults are the grip button to hold, the trigger to use, a highlight before the grab, and a throw speed averaged over the last fraction of a second. Most grab bugs come from the hand and the physics engine both trying to move the same object.
The four stages of a grab
Every grab has the same four stages.
- Hover. The hand or ray is close enough to an object. The object shows that it can be taken.
- Grab. The player presses a button or closes a hand. The object attaches.
- Hold and use. The object follows the hand. A second input may fire it or switch it on.
- Release. The player lets go. The object drops, flies, or snaps into a slot.
Near grab vs ray grab
A near grab happens when your hand touches the object. A ray grab, also called a distance grab, picks an object you point at from far away. Meta's docs call the two families direct and ray interaction.
| Near grab | Ray or distance grab | |
|---|---|---|
| How you target | Move your hand to the object | Point a ray or a cone at it |
| Good for | Tools, props on a table, anything within arm's reach | Objects on the floor, far shelves, seated players |
| Main cost | Bending and reaching | Picking the wrong object in a cluttered scene |
Near grab is the natural default. Its problem is reach. A seated player cannot pick a dropped key off the floor. So most games add a distance grab as well.
After the selection, the object has to go somewhere. Meta's Interaction SDK lists the options:
- Pull to hand. The object flies to your hand and then behaves like a near grab.
- Grab relative to hand. The object keeps its distance and moves as if on a long stick.
- Manipulate in place. The object stays where it is and you move it from there.
Pull to hand suits games. Half-Life: Alyx, released in March 2020, gave the player "gravity gloves" that pick up objects from a distance. The other two suit large objects and building tools.
A thin ray is hard to hold on a small object. Meta's SDK uses a cone, not a line, and picks the most centered object inside it. A second, wider cone can keep the object selected until it leaves. That stops flicker between two neighbors.
Grip vs trigger
Most VR controllers have two finger inputs. The trigger sits under the index finger. The grip button sits under the middle finger.
The common convention is grip to hold and trigger to use. You squeeze the handle to pick up a pistol. You pull the trigger to fire it.
WebXR, the browser standard for VR, has the same split. In its standard controller layout, button 0 is the primary trigger and button 1 is the primary squeeze button. A squeeze sends its own squeeze events. MDN describes it as "squeezing the controller" or "making a hand gesture that mimes grabbing something". The squeeze button is optional in that layout, so check that it exists.
The convention is not universal. Meta's input mapping lists "trigger or grip" for selection with controllers. Whatever you pick, keep it for every object in the game.
Then choose between hold and toggle:
- Hold to grab. The object drops when you release the button. This is the natural choice for throwing.
- Toggle. One press grabs, the next press drops. This is easier on the hand in long sessions.
Unity's XR Interaction Toolkit and Godot XR Tools both expose this choice as a setting.
With hand tracking there are no buttons. A pinch or a closed fist is the grab. The WebXR hand tracking guide covers what the cameras can and cannot see.
Snap vs offset hold
Snap moves the object to a fixed pose. A sword always lands with the handle in your palm. Tools and weapons need this. The cost is a visible jump if the player grabbed the blade. A short ease hides most of it. Unity calls this setting Attach Ease In Time.
Offset hold keeps the object exactly where it was relative to your hand at the moment of the grab. Grab a box by its corner and you hold it by the corner. Unity calls this Use Dynamic Attach. It suits crates, balls and puzzle pieces.
A third option sits between the two. You define a surface of valid grab poses, and the object can be grabbed anywhere along it. Meta's SDK calls this a Grab Surface. It fits a bat or a railing.
Two-handed objects
Rifles, brooms, bows and big crates need two hands. The usual model has a primary hand and a secondary hand. The primary hand sets the position. The line from the primary hand to the secondary hand sets the direction the object points.
Unity's default grab transformer supports two-handed rotation. Godot XR Tools has a Second Hand Grab setting for the same job.
Two rules keep two-handed objects stable:
- Decide what happens when the first hand lets go. Either the object drops, or the second hand becomes the primary one.
- Keep the hands apart if you support hand tracking. The cameras lose a hand that is covered by the other one. Meta's guidance calls one-handed interactions "always a good choice".
Throwing
A throw is a release with velocity. The game reads how fast the hand moved and gives that speed to the object.
Estimate the velocity over time, not from one frame
Tracking data is noisy. The speed from a single frame can point in the wrong direction. Toolkits average instead. Unity's documentation gives the example of a 0.25 second window, where "position and velocity values will be averaged over the past 0.25 seconds".
Why throws feel weak
There are three usual causes.
First, players let go late. Your hand is fastest in the middle of the swing. By the time your finger leaves the button, the hand is already slowing down. Valve's SteamVR plugin has a mode that uses the estimated peak velocity of the hand, not the final one.
Second, a long averaging window mixes the slow start of the swing into the result. A curve that weights recent samples more fixes that. Unity has such a curve, and it is flat by default.
Third, players swing carefully with a controller in a real room. Most toolkits let you scale the result. SteamVR's Throwable multiplies release velocity by 1.1 by default. It also has a curve for "greater differentiation between a drop, toss, and throw". A scale that helps a hard throw should not launch an object the player meant to set down.
Also count the spin of the wrist. During a flick, an object held away from the wrist moves faster than the wrist itself. If you only copy the hand's linear velocity, flick throws come out slow.
Release assists
A release assist bends the throw slightly toward a likely target, such as a hoop or a bin. Keep it small. Players notice when a wild throw scores.
Affordances, highlights, haptics and sound
An affordance is a visible hint of what an object lets you do. A handle says "hold me here". In VR you also need a hover state, because players cannot feel whether their hand is in range.
Common hover signals are an outline, a brighter color or a change of hand pose. Highlight only the one object that will be grabbed. SteamVR's system enforces this: a hand can hover over one object at a time.
Confirm the grab on more than one channel. Meta's hand guidance asks for "immediate and clear visual and auditory cues". For controllers, add haptics, which means vibration. Meta's haptics guidance has three rules worth copying:
- Pair every vibration with something you see or hear.
- Keep it in sync. A late buzz feels like a bug.
- Save strong pulses for key moments, and let players turn haptics down.
Tracked hands cannot vibrate, so sound and visuals do all the work there. Place grab and impact sounds at the object, as the spatial audio guide explains. For buttons and panels rather than props, see the VR UI design guide.
Physics vs kinematic objects
A kinematic object is moved by code and ignores forces. It follows the hand exactly, with no lag. It can also pass straight through a wall.
A physics-driven object is moved by the physics engine. The game sets its velocity so it chases the hand. It stops at walls and pushes other objects. It can lag a little behind the hand.
Unity's toolkit names three movement types and states the trade-offs:
| Movement type | How it moves | Trade-off |
|---|---|---|
| Instantaneous | Sets the position every frame | Lowest latency, but passes through static colliders |
| Kinematic | Moves a kinematic body at the physics step | Stays in sync with physics, still passes through static colliders |
| Velocity Tracking | Sets velocity and angular velocity | Collides properly, but "can appear to lag behind" |
Hold objects kinematically when they only need to be carried and thrown. Use velocity tracking when the held object must collide with the world, such as a hammer or a stacking block. Switch every object back to full physics at release so it can fly and land.
Common grab bugs and how to avoid them
| Bug | Cause | Fix |
|---|---|---|
| Object shakes in the hand | Hand code and physics both move it | Make it kinematic while held, or drive it only by velocity |
| Object flies off at release | It overlapped the hand or body collider | Ignore collisions between held objects and the player |
| Throw goes nowhere | Velocity read from one frame, or after release | Average recent samples and read them before detaching |
| Thrown object passes through a wall | It moved further than its own size in one physics step | Turn on continuous collision detection for thrown objects |
| Object lost under the floor or out of reach | Nothing brings it back | Respawn key items after a few seconds, or add a distance grab |
Continuous collision detection checks for hits between physics steps. Unity's manual says it will "usually require more computational resources". Enable it for small fast objects only.
Test every grabbable object the same way. Grab it with each hand. Throw it hard, drop it gently, and push it into a wall. An escape room with twenty props needs this pass twenty times.
How much of this you build yourself
In Unity and Godot, a toolkit gives you grabbing and throwing as components that you tune. On the web, @react-three/xr gives you pointer events, and you write more of the hold and throw logic yourself. The React Three Fiber VR tutorial shows that route.
AI builders write this layer for you. Turbl builds WebXR projects from a text description, and its games can use grabbing, throwing, physics and hand tracking. You tune by asking, for example "make throws stronger". The limits: projects are single player, and you steer with words, not with a settings panel. Whatever tool you use, test the grab in a headset.
FAQ
What is the difference between a near grab and a distance grab in VR?
A near grab needs your hand to touch the object. A distance grab selects an object you point at, then pulls it to your hand or lets you move it from afar. Most games offer both.
Should grabbing use the grip button or the trigger?
The common convention is grip to hold and trigger to use, so a held tool can still be fired or switched on. It is not a strict rule. Pick one scheme and apply it to every object.
Why do my VR throws feel weak?
Usually the game reads the hand speed at the moment of release, when the hand is already slowing down. Average the velocity over a short window before release, weight recent samples more, include the spin of the wrist, and apply a small scale.
Should held objects be physics objects or kinematic?
Kinematic objects follow the hand exactly but pass through walls. Physics-driven objects collide with the world but can lag slightly. Use kinematic for simple carry and throw. Use physics when the held object has to hit or push other things.
How do players know which objects they can grab?
Show a hover state before the grab. An outline, a color change or a hand pose change all work. Highlight only the one object that would be grabbed. Confirm the grab with a sound, and with a short vibration on controllers.
Sources
- Input mappings, Meta Horizon design docs
- Hands, Meta Horizon design docs
- Hands limitations and mitigations, Meta Horizon design docs
- Haptics best practices, Meta Horizon design docs
- Distance hand grab interaction, Meta Interaction SDK docs
- XR Grab Interactable, Unity XR Interaction Toolkit 3.0 manual
- XRGrabInteractable scripting API, Unity
- Near-Far Interactor, Unity XR Interaction Toolkit 3.0 manual
- Continuous collision detection, Unity manual
- Interaction System, Valve SteamVR Unity plugin docs
- Throwable.cs, Valve SteamVR Unity plugin source
- Pickable objects, Godot XR Tools docs
- WebXR Gamepads Module, Working Draft of 7 July 2025, W3C
- XRSession: squeeze event, MDN
- Interactions, pmndrs @react-three/xr docs
- Half-Life: Alyx, Wikipedia