make_actor_vr_grabbable
Add a GrabComponent to a Blueprint Actor so it can be grabbed in VR. Configure grab type, physics, and component name for interaction.
Instructions
Make a Blueprint Actor grabbable in VR by adding a GrabComponent.
From Ch. 16: To make any Actor grabbable, add GrabComponent and set Mobility to Movable on the root mesh. The VRPawn's InputAction GrabLeft/Right uses a sphere trace near the motion controller to find GrabComponents.
Args: blueprint_name: Blueprint to make grabbable grab_type: Grab type ("Free", "Snap", "None", "Custom") grab_component_name: Name for the GrabComponent simulate_physics: Enable physics simulation for realistic grabbing
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: make_actor_vr_grabbable(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grab_type | No | Free | |
| blueprint_name | Yes | ||
| simulate_physics | No | ||
| grab_component_name | No | GrabComponent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |