Making Pointing Hands, Fists and Open Hands in Godot VR
Today we make fists, open hands and pointing hands in Godot VR with the XR action map, and the XRController signals
Timeline:
0:00 - Intro
0:19 - Setting up the XR World
0:37 - Setting up the XR Controller Hands
1:16 - Connecting to the XR Server via GDscript
2:17 - Turning on SteamVR
3:30 - Using Hands in VR
4:12 - Testing Out the Buttons
8:54 - Detecting Fist, Pointing and Open Hands
12:56 -Testing Open Hand vs Fist
13:45 - Detecting Pointing Hand
14:35 - Using Hand State to Show Different Hands
15:47 - Outro
XR Docs:
https://docs.godotengine.org/en/stable/tutorials/xr/setting_up_xr.html
Code:
https://github.com/aimforbigfoot/NAD-LAB-Godot-Projects-4.0/tree/main/fistinvr
The thumbnail is based on ‘Godot icon.svg’ by Andrea Calabró, available from Wikimedia Commons, and is licensed under the Creative Commons Attribution 4.0 International License. Modifications were made by NAD LABS