Skip to content

Scaled World Grab

Ian edited this page Nov 2, 2018 · 12 revisions

Overview

For scaled-world grab, the user selects an object far away from them using a long-distance interaction technique (In our case, ray-casting). On selection the entire world will be scaled around the user (without affecting the users viewpoint). This gives the illusion of the user being a giant and using simple touch the user can grab the now-close object and manipulate it around the world with ease.

Current implementation of Scaled-World Grab as of 2/06/2018 (NOTE: This may be modified/changed later) Alt Text

Source paper of the technique:

Mine, M. (1997). “ISAAC: A Meta-CAD System for Virtual Environments.” Computer-Aided Design 29(8): 547–553.


Use by manually attaching

To manually attach the Scaled World Grab to the Camerarig VR components if the auto-attach fails for each hand:

  • Drag onto Scaled World Grab script:
    • Left and Right VR Controllers onto Left and Right Controller
    • Camera eye onto camera head
    • Camera right onto camera rig

Inspector parameters

For Scaled World Grab Script:

Parameter Default Description
Intractable Layer PickableObject The layers that the technique can interact with
Interaction Type Selection When set to manipulation Scaled world grab can move objects via parenting. When pure selection it will just send an event that it has selected and place the object into a public variable.
Controller Picked Right_Controller The controller the technique uses
Selected Object None Object selected by technique

For Controller Collider Script:

Parameter Default Description
Scaled World Grab None The Scaled world grab script, this will be set up on run time.
Selected Object() Empty Invoked when object is selected
Dropped Object() Empty Invoked when object is Dropped
Hovered() Empty Event Invoked when an object is hovered over
UnHovered() Empty Event Invoked when an object ceases being hovered over
Scale Selected None Object selected in scale mode

Test/Example scenes

Major example scene under:

  • Assets/Technique Example Scenes/Scenes/ScaledWorldGrab

Clone this wiki locally