The Hand Distance Grabber is responsible for managing targeting and selecting objects with the Distance Grabbable Component.
<aside> ❗ Grabbable objects cannot be targeted by this distance grabber unless they have the 🧲 Distance Grabbable Component is also where you will set how the grabbable is pulled to the hand
</aside>
Primary Hand
is the hand component of the hand this is attached toSecondary Hand
is the hand component of the other hand this is attached to (if primary hand is right, this would be the left hand)Forward Pointer
is a transform that represents the start point and forward direction of the pointer lineLine
is the line renderer that will manage the visual properties of of the grab pointer lineMax Range
will be the max distance in units that distance grabbing is possibleLayers
represent the physics layers possible for distance grabbing, (for ease of use purposes) if set to nothing will default to “Grabbable” unless removed from the start functionDefault Targeted Material
will be used on only targeted distance grabbable if its distance grabbable targeted material is empty (Targeting is when the pointer is pointing at an object but not selecting)Default Selected Material
will be used on only selected distance grabbable if its distance grabbable targeted material is empty (Selecting is when the pointer is grabbing an object before the pull)Distance grabber includes "Pull Options" which will allow you to choose how grabbing is triggered after "selection"
Use Instant Pull
will instantly trigger pull on selectUse Flick Pull
will require you quickly flick your hand back to pull after selecting a targetuse flick pull
or use instant pull
this will pull the selected target when moving your hand Pull Grab Distance
units away from where the hand was during the selection pointThe distance grabber includes events for each important action
HandPointGrabLink component is responsible for managing controller input.
takes the distance grabber to control, and the main controller link (attached to the “Input” object under the example hands)