Hand Functions

Climbing (grab onto objects to move)

Tutorial 1 (T1) method in UE4

Create climbing wall


Create a mesh wall as BP
Untick Stimulate physic (to let climbing around area stay stationary)
image.png

In T2 method in UE5, the imported meshes (rock) need follows steps:
Add collision below, set Collision complexity as simple and complex
image.png
Create a BP actor, called Climb Rock, add components
image.png
Open Grab type Enumeataion, add Climb
image.png
Open Grab Component BP from VR template, complie
image.png
Select in “grab type”, to “climb” in Grab component in ClimbRock BP
image.png
Change Static mesh component Collision preset to Block All

BP set in VR Pawn:


Create a new function called Climb Action (heldcomponent), motion controller input looks for motion controller component
image.png
image.png
In Event graph,
sat event tick
image.png

Set the Player Starter Input as 0
image.png

Test if climbing works on left controller
Create more rocks on wall
Create on right controllers in event tick of VR pawn
image.png
In Climb Action function, add command (optional)
image.png

In Grab Component, Try Release function, Grab Type variable, tick Expose on Spawn
image.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.