IsotropicChaseVRControls

IsotropicChaseVRControls

Makes sure that an given solid in the geometry follows a VR controller (living in the tangent space). The position of the underlying shape should be given by an isometry of the geometry

Constructor

new IsotropicChaseVRControls(controller, camera, solid)

Source:

Constructor

Parameters:
Name Type Description
controller Group

the group representing the controller

camera VRCamera

the camera (giving the position of the observer)

solid Solid

the solid following the controller. The position of the underlying shape should be given by an isometry.

Classes

IsotropicChaseVRControls

Methods

chase(webXRManager)

Source:
Parameters:
Name Type Description
webXRManager WebXRManager

the WebXRManager used by Three.js

onSelectEnd()

Source:

Event handler when the user stops selecting

onSelectStart()

Source:

Event handler when the user starts selecting

onSqueezeEnd()

Source:

Event handler when the user stops squeezing

onSqueezeStart()

Source:

Event handler when the user starts squeezing