Giter VIP home page Giter VIP logo

unity_vr_examples's Introduction

Unity_VR_Examples

A collection of VR Examples

Requirements

  • Unity 2022.3.7f1 or later

Windows

  • One of: Oculus Quest, Rift, HTC Vive, Index

Mac

  • Oculus Quest

Examples

Pancake

This example shows how to configure a VR project work in normal desktop mode. Whether to use a First Person of 3rd Person controller is not covered. More information can be found here.

Roomscale Fix

An example of how to stop players from being able to walk about within their play space and simply pass thru walls. Try out the Walls scene. More information can be found here.

Controller Button Press

This example shows how to assign a custom key mapping to an object. In this case it's a cube. If the cube is held and the primary button on the controller is pressed, the cube will change color. Only the button on the controller holding the object will activate the color change. If the cube is dropped, the cube will not change color. Try it out in the ControllerButtonPress scene.

Jump

Demonstrate how to map a key to a button on the controller. In this case, the A button on the controller will cause the player to jump. The player will not jump if the A button is pressed while the player is in the air. Currently, there is a bug where the player can infinitely jump when the app is first started. Once the character has moved, the bug is no longer present. Still working on this one... Try it out in the Jump scene. Note that unlike the Roomscale Fix example, this example uses the Capsule Collider rather than a Character Controller. This is so physics can be applied to the player.

unity_vr_examples's People

Contributors

corysia avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

unity_vr_examples's Issues

Create a HUD example

Create an example where the player has HUD elements. This could be the structure of the inside of a helmet (Lone Echo) or some sort of map or health bar. The specifics don't matter, just that it's attached to the camera and doesn't make the player sick when looking around.

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.