Giter Site home page Giter Site logo

slingshot's Introduction

Slingshot-Simulator (built in Unity 5.1)

This simple project allows a player to shoot stones with a slingshot.

The technologies used in this project are:

  • 2x Myo Armband (left forearm + right upperarm)
  • 1x Oculus Rift
  • 1x Wireless Mouse

You can just drop the Player-Prefab into your scene and you can rotate and shoot your targets. If the Myos are on the wrong side, just press L or R to switch the sides.

Also remind, that the Myos have to look towards your wrists with their USB ports.

You may have to adjust some settings for the correct behaviour of your left arm so you can press + (in the Input settings it is =) or - for switching the direction of movement and if your left arms roll is mapped instead of the pitch, you may need to switch axes by pressing X or Z.

After you fixed that, you can either get into T-Pose or put both arms straight forward and then press the right mouse key to calibrate your body.

Snap the imaginary sling with the left mouse key and just release it. If you do everything right, the scripts will spawn a stone, that smashes every Rigid Body and opens the Hit-method for every object with trigger-collider.

You can enable the support for Oculus other HMDs in the player settings, to run with Oculus, you need to open the command line: ./slingshot.exe -vrmode oculus

Have Fun!!!

slingshot's People

Watchers

Jonas Voelcker avatar Steffen avatar  avatar  avatar  avatar  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.