[go: up one dir, main page]

Skip to content

disasteroftheuniverse/SuperQuest

Repository files navigation

SuperQuest! Oculus Quest AFrame Components

image image Documentation Status

Add-ons for A-Frame VR tailored for Oculus Quest and Oculus Quest 2.

Includes a lightweight physics system optimized for Oculus Browser and components for virtual hands to pick up and manipulate virtual objects.

 __                        ____                _
/ _\_   _ _ __   ___ _ __ /___ \_   _  ___ ___| |_
\ \| | | | '_ \ / _ | '__//  / | | | |/ _ / __| __|
_\ | |_| | |_) |  __| | / \_/ /| |_| |  __\__ | |_
\__/\__,_| .__/ \___|_| \___,_\ \__,_|\___|___/\__|
|        |_|
├── assets/ (docs)
│   ├── hands.ma
│   └── hands.fbx
├── extras-collection/ (docs)  Project Status: WIP
│   ├── billboard.js
│   ├── clamp.js
│   ├── distribute-linear.js
│   ├── portals.js
│   ├── google-poly.js
│   ├── helpers.js
│   ├── literals.js
│   ├── rounded.js
│   ├── signals.js
│   ├── misc.js
│   └── json-loader.js
├── quest-collection/ (docs)   Project Status: WIP
│   ├── superquest-haptics.js
│   ├── superquest-hands.js
│   └── superquest-teleporter-controls.js
└── physics-lite/ (docs)  Project Status: WIP
    ├── superquest-physics-lite.js
    └── superquest-physics-lite.worker.js

Installation

Include this script tag after your A-Frame script tag in the head of your document.

<script src="https://cdn.jsdelivr.net/gh/disasteroftheuniverse/SuperQuest/dist/SuperQuest.full.min.js"></script>

Overview

  • Physics Lite - a lightweight alternative to AFrame-Physics-System with better performance in mobile browsers. It is simply a port of the ever-excellent Oimo.js.
  • Oculus Quest Hand Component - adds a unique prescribed hand model and a large selection of prescribed hand animations to accomodate common hand gestures. Used in conjunction with Physics Lite and/or grabbable component (included) to create unique, object-specific hand pick up/gesture/drop animations.
  • Extra Components Collection - Assorted miscellaneous components for UI and interaction.