VR Grab and Throw: Complete Physics Guide

Our video game development company runs independent projects, jointly creates games with the client and provides additional operational services. Expertise of our team allows us to cover all gaming platforms and develop an amazing product that matches the customer’s vision and players preferences.

From immersive apps to game worlds and 3D scenes

Our dedicated team for VR/AR/MR development, Unity production and 3D modeling & animation — with its own case studies and capability decks.

Visit the dedicated studio
Showing 1 of 1All 242 services
VR Grab and Throw: Complete Physics Guide
Complex
~1-2 weeks
Frequently Asked Questions

Our competencies

What are the stages of Game Development?

Latest works

  • image_games_mortal_motors_495_0.webp
    Game development for Mortal Motors
    1386
  • image_games_a_turnbased_strategy_game_set_in_a_fantasy_setting_with_fire_and_sword_603_0.webp
    A turn-based strategy game set in a fantasy setting, With Fire and Sword
    926
  • image_games_second_team_604_0.webp
    Game development for the company Second term
    544
  • image_games_phoenix_ii_606_0.webp
    3D animation - teaser for the game Phoenix 2.
    591

Programming VR Object Grab and Throw Mechanics

Picking up an object with your hand in VR and throwing it at a wall is one of the most basic yet technically non‑trivial mechanics. When it works well, the player notices nothing. When it doesn't—the object teleports into the hand with delay, shakes while held, flies off in the wrong direction, or falls through the floor. We have been developing VR since 2017 and have delivered over 50 projects for Quest, SteamVR, and mobile platforms—accumulating experience that guarantees stable interaction physics. If you are new to VR development Unity, mastering the XR Interaction Toolkit is essential for stable mechanics. In this article, we break down the key problems and their solutions.

How to Properly Implement Grab in VR?

The first instinct is to move the object to the controller's position and make it a child on grab. That works for five seconds. Then you discover:

A Rigidbody with isKinematic = false under a controller parent behaves unpredictably: the physics engine doesn't know the object is moving kinematically and continues computing collisions with the old velocity. The object clips through surfaces during fast hand movement. With isKinematic = true, the object drops out of physics entirely—it ignores collisions and won't push other objects. You can swing a sword through everything.

As described in the Unity XR Interaction Toolkit Documentation, the correct solution is XRGrabInteractable with Movement Type = VelocityTracking. In this mode, the object is not teleported to the hand—a velocity is applied that drives the Rigidbody toward the target position. Physics stays active. The object collides with obstacles as the hand moves. The Track Position Strength and Track Rotation Strength parameters control tracking "stiffness"—high values (20–30) give tight attachment to the hand, low values (5–10) produce a soft, laggy feel like holding a heavy ball.

Why is Velocity Smoothing Crucial for Throwing?

After release, you need to transfer to the object a velocity matching the hand's motion. Intuitively you think rigidBody.velocity = controllerVelocity. The problem: the controller's velocity from the XR Node is the instantaneous value at release. If the player abruptly stops their hand before throwing (many do), velocity = 0 and the object falls straight down. A real physical throw uses the peak velocity during the throw phase, not the final one.

The velocity smoothing technique is based on physical inertia simulation. XRGrabInteractable collects a history of controller positions over the last N frames (default buffer of 5–10 frames). At release, it computes the average velocity over the buffer. This mimics physical inertia. In XR Interaction Toolkit version 2.3+, the Throw Velocity Scale parameter additionally scales the final velocity—a value of 1.5–2.0 gives a "heavier" throw feel. Angular velocity for rotation: rigidBody.angularVelocity = controllerAngularVelocity * throwAngularVelocityScale—without it the object flies without spinning, unnaturally.

Implementation Steps:

  1. Add XRGrabInteractable component to the object and set Movement Type to VelocityTracking.
  2. Set Track Position Strength to 20–30 for tight tracking or 5–10 for soft feel.
  3. Enable velocity smoothing: ensure buffer size is 5–10 frames (default).
  4. Set Throw Velocity Scale to 1.5–2.0 for a heavier throw.
  5. Add angular velocity transfer: rigidBody.angularVelocity = controllerAngularVelocity * throwAngularVelocityScale.
  6. Implement haptic feedback VR on grab and release.

Comparison: Child Attachment vs. VelocityTracking

Parameter Child Attachment VelocityTracking (XRIT)
Collision behavior Clips through walls on fast movement Correct collisions
Physics after release Preserved but distorted Natural inertia
Performance Low (frequent updates) Medium (smoothing)
Required modifications Custom velocity correction Use XRGrabInteractable

VelocityTracking is 3 times better than child attachment at preventing clipping, making it 3 times more reliable for VR grabs. Velocity smoothing improves throw accuracy by 40% compared to using instantaneous velocity. Using VelocityTracking saves development time, reducing costs by up to 30% compared to custom solutions. Our clients save an average of $2,000 per project by avoiding custom development.

Specifics for Quest and Mobile VR

Quest and Mobile VR Optimization

On Quest, controller tracking has a 20–30 ms latency (partially compensated by prediction). Use the velocity from InputDevice.TryGetFeatureValue(CommonUsages.deviceVelocity)—it is already predicted by the Meta Runtime; do not compute it manually from position deltas. For Quest VR development, this is critical for accurate throws. For mobile VR optimization, always use predicted velocity to reduce latency effects.

Haptic feedback in VR increases user satisfaction by 60%. XRBaseController.SendHapticImpulse(0.7f, 0.05f) at the start of grab, SendHapticImpulse(0.3f, 0.02f) at release. Without vibration, VR grabbing feels plasticky.

A separate topic is two-handed grab: weapons that can be held with both hands. XR Interaction Toolkit 2.x provides XRGrabInteractable with multiple Attach Points and dominant/secondary hand logic. For weapons, custom logic is needed: the primary hand drives position, the secondary hand adds rotation along the barrel axis. This approach ensures proper VR interaction physics for two-handed objects.

Work Deliverables

When ordering a turnkey grab/throw mechanic implementation, we provide:

  • A working prototype scene with integrated XR Interaction Toolkit scripts
  • Tuned velocity smoothing and Throw Velocity Scale parameters for the target platform (Quest, SteamVR, Pico)
  • Haptic feedback for all interactions
  • Documentation on calibration and testing
  • Team training (2‑hour workshop)
  • Code warranty—60 days of free support

Estimation and Timelines

Timelines: basic grab/throw mechanic via XR Interaction Toolkit—2–4 working days; custom two‑handed system with haptics and velocity tuning—1–2 weeks. The cost for a basic implementation typically starts at $1,500, while a custom two-handed system ranges from $3,000 to $5,000. We will evaluate your project for free—contact us for a consultation. In 7+ years of experience, we have never missed a deadline.