- Tutorials [Leaning Oriented] (Videos)
- Small/Medium projects that go from blank state to a completed goal oriented project (e.g. make a kitchen you can teleport around and interact with things)
- Predominately videos on the VRTK Youtube channel maybe split into a series (playlist) of videos perhaps no more than 10/15 minutes long each.
- Feasible to have written tutorials but they would probably form chapters of a book
- How To Guides [Goal Oriented] (Videos/Written)
- Step by step guides on how to do something with VRTK such as set up a CameraRig, setup teleporting, set up a pointer. More advanced How To Guides could be how to customise a pointer, how to change the underlying structures of the interactable prefab, etc.
- Perhaps a even split between written guides with video versions simply going through the guides. The written guide could contain a link to the video and the video could contain a link to the written guide. These guides would be self contained and the vide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using Tilia.Interactions.Interactables.Interactables; | |
using Tilia.Interactions.Interactables.Interactables.Grab.Action; | |
using Tilia.Interactions.Interactables.Interactables.Grab.Provider; | |
using Tilia.Interactions.Interactables.Interactors; | |
using UnityEngine; | |
using Zinnia.Data.Collection.Stack; | |
public class OrientationFollowPrimarySecondarySwapper : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using Tilia.Interactions.Interactables.Interactables; | |
using Tilia.Interactions.Interactables.Interactables.Grab.Provider; | |
using UnityEngine; | |
using Zinnia.Data.Collection.Stack; | |
public class PrecisionFollowPrimarySecondarySwapper : MonoBehaviour | |
{ | |
[SerializeField] | |
private InteractableFacade interactable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import os | |
def kmi_props_setattr(kmi_props, attr, value): | |
try: | |
setattr(kmi_props, attr, value) | |
except AttributeError: | |
print("Warning: property '%s' not found in keymap item '%s'" % | |
(attr, kmi_props.__class__.__name__)) | |
except Exception as e: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using VRTK; | |
public class CustomTip : MonoBehaviour { | |
private VRTK_WorldPointer pointer; | |
private GameObject cubeCursor; | |
private GameObject capsuleCursor; | |
private MeshRenderer sphereCursor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================= | |
// | |
// Purpose: Add player ability on SteamVR CameraRig to: | |
// | |
// * Trackpad press down: project laser pointer from Touch Controller | |
// * Trackpad release: teleport player with blink to laser point destination | |
// * Trigger click: grab any object that has a custom "Grabbable" tag applied | |
// * Trigger release: release the current grabbed object with relative force | |
// * Application Menu: reset the position of last grabbed object to controller | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class ViveCursor : MonoBehaviour { | |
public enum AxisType | |
{ | |
XAxis, | |
ZAxis | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install git-core curl git build-essential libssl-dev libreadline-dev autoconf bison libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libncurses5-dev automake libtool libpq-dev fontconfig docker.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 && | |
mv phantomjs-1.9.7-linux-x86_64.tar.bz2 /usr/local/share/. && | |
cd /usr/local/share/ && | |
tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 && | |
ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64 /usr/local/share/phantomjs && | |
ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/bin/phantomjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y python-software-properties python && | |
add-apt-repository ppa:chris-lea/node.js && | |
echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list && | |
apt-get -q -y update && | |
apt-get install -y nodejs |
NewerOlder