๐Ÿ‘‹
Auto Hand Docs
  • ๐Ÿ™ŒAuto Hand
    • โ€ผ๏ธAuto Hand V4 What's-New
    • โšกSetup
    • ๐Ÿ—’๏ธFAQ
    • โ‰๏ธCommon Issues
    • ๐ŸงคSetup New Hand
    • ๐ŸŽฎController Input
      • โœŠHand Input
      • ๐ŸคŸHand Tracking Input
      • โœŒ๏ธFinger Pose Input
      • ๐ŸƒPlayer Input
      • ๐Ÿ—’๏ธGeneral Input / UI Pointer Input
      • ๐Ÿ‘ˆDistance Grabber Input
      • โšกTeleport Input
      • ๐ŸŽAdditional Input
    • ๐Ÿ–๏ธHand
      • ๐Ÿ”ฆGrabbable Highlighter
      • ๐Ÿ‘‹Hand Follow
      • ๐ŸซณHand Animator
      • โ˜๏ธFinger Component
      • ๐ŸงคHand Projector
    • ๐Ÿ––Hand Tracking
      • ๐Ÿ‘ŒHand Tracking Finger Gesture Tracking
      • ๐Ÿ‘ˆHand Tracking Pose Gesture Tracking
    • โœ๏ธCustom Poses
      • ๐ŸฆพHand Pose Data
      • โœ‚๏ธAnimated Held Poses
    • ๐Ÿ…Grabbable
      • ๐ŸงฒDistance Grabbing
    • ๐ŸงบPlace Point
    • ๐Ÿ“คDispenser Point
    • ๐Ÿ›ธTeleportation
    • ๐Ÿ‘ŸAuto Hand Player
    • ๐ŸงFull Body (VRIK)
    • โš’๏ธExtras
      • ๐Ÿ”ซAuto Gun
        • ๐Ÿ’˜Auto Ammo
        • ๐ŸŽฏAuto Gun Target
      • โš™๏ธGrabbable Held Joint
      • ๐ŸŽ›๏ธPhysics Gadgets
        • ๐Ÿ”˜Physics Gadget Button
        • ๐ŸŽš๏ธPhysics Gadget Slider
        • ๐ŸŽ›๏ธPhysics Gadget Lever
      • ๐Ÿ“UI Interaction
      • ๐Ÿ“ฑHand Touch / Trigger
      • ๐Ÿ”จSmashing
      • ๐Ÿ”ชStabbing
      • ๐ŸŽฏStickies
      • ๐ŸงฒMagnetic Forces
      • ๐Ÿ“ขCollision Sounds
      • โŒšWrist Look Event
Powered by GitBook
On this page
  1. Auto Hand
  2. Controller Input

Hand Input

PreviousController InputNextHand Tracking Input

Last updated 3 months ago

Hand Input

Manages the controller input for hand grab/release triggers and the squeeze/unsqueeze events

OpenXRHandControllerLink

XRHandControllerLink

Meta XR Hand Controller Link

SteamVRHandControllerLink

The base hand controller link class is looking for four inputs:

Grab Axis determines which input axis (float) the Hand uses for grabbing and finger pose input

Squeeze Axis determines which input axis (float) the Hand uses for squeezing axis and input

Grab Button/Action determines which input value (bool) the Hand uses for triggering the hand.Grab() and hand.Release() functions

Squeeze Button/Action determines which input value (bool) the hand uses for triggering the hand.Squeeze() hand.Unsqueeze(), grabbable.OnSqueeze / grabbable.Unsqueeze events

The hands also have some functions to return these input values without requiring a reference directly to the input system

hand.OnTriggerGrab will always called when the grab button is pressed

hand.GetTriggerAxis will return the grab axis float that the hand controller link is sending to the hand from the input system

hand.GetSqueezeAxis will return the squeeze axis float that the hand controller link is sending to the hand from the input system

๐Ÿ™Œ
๐ŸŽฎ
โœŠ
Where to find this component in the player hierarchy