/vr-weight

Simulating Weight in VR

Primary LanguageC#Apache License 2.0Apache-2.0

Simulating Weight in VR

A quick exploration of methods for conveying “heaviness” in virtual reality Read more in our Medium article here.

Precompiled binaries

Download precompiled binaries from the releases pages.

How to run

You'll need Unity v5.4.~ and an HTC Vive.

After importing the project into Unity, choose between one of the two root scenes on the Project Browser:

  • Assets/Scenes/Scene1.unity
  • Assets/Scenes/Scene2.unity

Then hit play.
After you're in, you can press the grip buttons to go to another scene.

Components

Components must be attached to game objects containing at least 1 collider and a rigid body.

  • InputController - Handles active controllers (one per scene required)
  • DragByParenting - Attach to an object you want to be able to pick up
  • DragWithJoint - Direct link - see Medium article for more details
  • DragByChangingPhysics - Loose link - see Medium article for more details
  • PlaySoundOnCollision - Plays an audio source when the current game object collides with something else.

Creating a new scene

  1. Create an empty game object and attach the InputController component to it.
  2. Drag all SteamVR prefabs into your scene: [SteamVR], [Status] and [CameraRig]
  3. Add one of the components above to your game objects.

Feel free to fork the repository or submit an issue with questions or feedback.

Tack / B-Reel