Connect physical inputs to the game
GODOT / OPENXR ACTION MAP
Think of a button press as a short conversation. The headset reports a physical input. Godot gives it a name, such as trigger_click. PCA sees that name and carries out the job you assigned to Trigger. Troubleshoot in that order.
Godot 4.7.2 displaying the actual generated action map. Each device tab has bindings for the left and right hands. Add profile and Save are at the top.
01. In the VR Godot project, open Project Project Settings XR OpenXR. Confirm that OpenXR is enabled and locate Default Action Map. Open the map from the FileSystem dock or the bottom OpenXR Action Map panel. The generated file here was res://openxr_action_map.tres.
02. Open Action Sets to see names and types. A Boolean is pressed or released. A Vector2 gives you two stick directions. A pose gives the position and angle of the controller. Open a device tab to see which physical input feeds each action.
03. For each target, check both hands’ aim_pose, trigger and grip inputs first. Preserve existing working bindings. Use Add profile for missing hardware, then use the + beside a physical input to choose an action. Save the map and restart the game so the runtime can register the changed bindings.
A blank controller model is a poor tracking test. PCA creates tracked aim nodes but this player script adds no controller mesh or always-on laser. Log the aim pose or show a small debug marker on the ray hit. The teleport landing marker is visible only at a valid destination.
