This file contains hidden or 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 | |
| // |