Git Product home page Git Product logo

ghosthands's Introduction

Ghosthands

Ghosthands is an Input Module for Unity and Oculus Touch. It allows you to use the Unity Event System to send events to GameObjects using your controllers.

To read more about this input module check our blog. Here is an extract from it about how to setup the module:

  1. Get the Unity Package OculusTouchInputModule.unitypackage from our Github repository and import it in your project.
  2. Create an EventSystem GameObject in your Scene (Create > UI > Event System), remove the Standalone Input Module component from it, add an Oculus Touch Input Module (Add Component > Event > Oculus Touch Input Module).
  3. Drag and drop the LeftHandAnchor and RightHandAnchor GameObjects from your OVRCameraRig > TrackingSpace GameObject into the corresponding slots of the Oculus Touch Input Module.
  4. Go to any GameObject for which you want to register an event. Make sure that it has a collider (it works fine if it's a trigger collider). Add an Oculus Touch Event Trigger component (Add Component > Event > Oculus Touch Event Trigger). And use it as you would for a classic Event Trigger!

ghosthands's People

Contributors

akshaydashrath avatar quentinleguennec avatar

Stargazers

Dark Arts and Sciences avatar  avatar fred avatar  avatar Zachary Phillips-Gary avatar  avatar

Watchers

 avatar Luigi Agosti avatar James Cloos avatar Nissim Dsilva avatar Harry Roper avatar  avatar  avatar  avatar Sam Holyhead 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.