add_vr_input_action_node
Attach a VR input action event node to a Blueprint, enabling handling of grip, trigger, menu, and teleport controls.
Instructions
Add a VR input action event node to a Blueprint.
From Ch. 16: VR input actions from the VR template include:
"GrabLeft" / "GrabRight" (grip button)
"TriggerLeft" / "TriggerRight" (trigger button)
"MenuToggleLeft" / "MenuToggleRight" (menu button)
"TeleportLeft" / "TeleportRight" (thumbstick)
VR axis inputs (use add_blueprint_input_action_node for these):
"MovementAxisRight_Y" / "MovementAxisRight_X" (right thumbstick)
"MovementAxisLeft_Y" / "MovementAxisLeft_X" (left thumbstick)
Args: blueprint_name: Blueprint to add the input node to input_action: VR input action name node_position: [X, Y] graph position
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_vr_input_action_node(blueprint_name="/Game/MCP_Test/BP_Example", input_action="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_action | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |