Download climbing idle, up/down, left/righ anim
Create a cube as a wall in scene
Duplicate a 3rd person BP as climbing character:
Create a function called Climbing Line Trace
In event graph (for testing only, delete afterward):
if seeing small square dots once reaching the wall, it works.
Delete the event tick nodes above.
Continue the climbing line trace function:
Add output on the functions to create a return node:
Select character movement component, change to 1000 at decelerateion flying
Go to event graph
Add event tick (to let each moment examine if player still climbing or already declimbing
Set move up/down, left/right:
At Movement input in event graph, modify forward backward nodes as follow:
for left right movement nodes:
Finally connect left right node to forward back node by using the branch:
Setting when stop climbing:
In climbing loop command, false branch
And on release B key:
Create climbing animation:
Duplicate climb up and down anim, change one of them as up, the other one is down.
Change the rate scale from 1 to -1 to down anim
Repeat the same for left and right anim
Create blend space
Go to Anim BP, state machine
Add state, called Climbing
Add new variable, is climbing?
Open base to climbing
Open climbing node
Go back to 3rd person character BP, event graph
add 2 variables:
Back to Anim BP, event graph, add follow highlight:
To modify the climbing more smooth:
Add follow in ABP event graph:
And in blend space anim, increase weight speed to 200
smooth time on both axis as 0.4 to 1, and also damping ration like 0.25 (play around them)
Back to Climb line trace function in character BP
set debug type to none