Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. VR
  5. parentToHand

parentToHand

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Attach this object to a VR hand with optional offset position and angle

Hand:

  • Main
  • Secondary
  • Left
  • Right

Parameters:

  • hand
    • A string value
  • offset (optional)
    • A string value
  • angle (optional)
    • A string value

Example:

1
obj.parentToHand(hand, offset, angle)
Tags
Was this article helpful to you? Yes No

How can we help?