Git Product home page Git Product logo

chapmania / easiervrassets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kimryan0416/easiervrassets

0.0 1.0 0.0 308.67 MB

A collection of prefabs, scripts, and assets that can be dragged and dropped into Unity for the Oculus Quest. Requires the Oculus Implementations package from the Oculus Store, but makes various aspects about using it easier.

C# 93.86% HLSL 0.42% ShaderLab 4.17% JavaScript 1.55%

easiervrassets's Introduction

EasierVRAssets

Hello. My name is Ryan, and this is a guide for the "EasierVRAssets" package. As the developer of this package, I feel that it is strongly within my responsibility to explain what this package is and how to use it.

The "EasierVRAssets" package is a set of scripts and prefabs intended to make life a little easier for developers working with the Oculus Quest in Unity. While working with VR for school projects, I sometimes found that the "Oculus Implementations" package available in the Unity Asset Store was very cumbersome to use and often had bugs in their code. I wanted to create a VR toolkit that would be simpler to use and more efficient in terms of workload on the developer.

In order to get this package working, you need to do several things prior:

  1. Make sure that on whatever version of Unity you are working with, that you have the Android DevTools installed in Unity.
  2. You must have the “Oculus Implementations” installed in your Unity project. The Oculus package is still required, as many scripts in "EasierVRAssets" still utilize aspects of the code from the "Oculus Implementations" package.

Setting up your Unity Project

In order to get this project to work, you must install the "Oculus Implementations" first, then adjust the settings of your Unity project to output properly for the Oculus.

To install the "Oculus Implementations" package, just follow these instructions:

  1. Navigate to the Unity Asset Store in Unity
  2. Search for "Oculus" – you will most likely see the "Oculus Implementations" package as the first item that appears.
  3. Click Import – it will take some time to install into your Unity project.

You must also ensure that the settings behind Unity are optimized for use of the Oculus scripts.

  1. Open your Build Settings (File > Build Settings), and then ensure that you are outputting your projects for Android (Platform > Android).
  2. Open "Player Settings" and navigate to "Player" (Player Settings > Player)
  3. Inside "XR Settings", in "Virtual Reality SDKs", click the + button and add the "Oculus" package if you haven’t already.
  4. Inside "Other Settings", do the following:
    1. Delete Vulkan from "Graphic APIs" – this is no longer needed
    2. Set "Minimum API Level" to Android 4.4 "Kitkat"
  5. Still within "Player Settings", navigate to "Time" on the left side. Then, set the "Fixed Timestep" value to 1/90 or 0.01111 – this speeds up your game by a significant amount

To install the "EasierVRAssets" package, simply clone this repo into your local computer, and then add the package to your Unity Project. Unity should automatically import all scripts and assets onto the computer from here.

Contents

The contents of the "EasierVRAssets" consist of the following:

  • EasierVRAssets/
    • README.md - this file
    • ChangeLog.md - Contains the list of changes made to this package
    • CustomGrab/
      • README.md – A summary of the CustomGrab subpackage
      • Materials/ – The materials utilized by this package
      • Prefabs/ – prefabs created for easier usage in Unity
      • SampleScenes/ – samples of scenes that showcase example uses of the scripts and prefabs in this subpackage
      • Scripts/ – the collection of scripts used in this subpackage
    • VRKeyboard/ - UPCOMING SOON

For more information on how to utilize these subpackages, please read their respective README.md files. Each subpackage in this repo contains a README file that explains the nuances of each subpackage, including how they work and what public variables are most important when integrating these packages and prefabs into your own project.

Happy hunting! - Ryan Kim

easiervrassets's People

Contributors

kimryan0416 avatar

Watchers

James Cloos 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.