Coder Social home page Coder Social logo

vr-weight's Introduction

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

vr-weight's People

Contributors

karlringman avatar lucasdupin avatar

Watchers

曹明伟,Mingwei Cao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.