Python scripting can be used to implement custom interactions with controllers and trackers in VR.
Click here to view the VR Interaction video.
VRED provides two Python APIs for VR:
If you are using VRED 2020.1+, see Python API v2 for VR. It explains how to create a new device interface, connect to the default device interactions, work with controllers and trackers, create VR Menu entries, and manage VR collatoration sessions.
If you are using older versions of VRED, please see Python API v1 for VR (Deprecated) and its subpages, Python for HTC Vive (Deprecated) and Python for Oculus Rift (Deprecated).
For a comprehensive list of Python functions and descriptions, select Help > Python Documentation. If you would like an explanation of what the shipped Python example scripts do, see Examples Shipped with VRED.