Skip to content

Flexible Pointer

Ian edited this page Jun 3, 2018 · 17 revisions

Overview

Flexible pointer is an extension of the ray cast. It allows the user to manipulate and bend the projected ray to select obscured objects. It utilises two controllers to control it and the curvature is based on a quadratic bezier curve.

The quadratic bezier curve utilizes two positions and a control point as shown below:

  • Position 1 is controlled via one VR controller which the laser will project from.
  • Position 2 is controller via the other VR controller which you point ahead of yourself.
  • The position of the control point is manipulated by the intersection of two vectors pointing out of each controller.
  • A scaling factor can be set to configure how far you want the pointer to be able to reach.

This may be changed later

Source paper of the technique:

Olwal, Alex & Feiner, Steven. (2012). The Flexible Pointer: An Interaction Technique for Augmented and Virtual Reality.


Use as prefab

HTC VIVE:

OCULUS:


Use by manually attaching


Inspector parameters


Class methods


Test scenes


Example scenes

Clone this wiki locally