Animation & Mesh character

Simple Climbing system



Download climbing idle, up/down, left/righ anim

Create a cube as a wall in scene
image.png

Duplicate a 3rd person BP as climbing character:
Create a function called Climbing Line Trace
image.png
In event graph (for testing only, delete afterward):
image.png
image.png

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:
image.png
Select character movement component, change to 1000 at decelerateion flying
image.png
Go to event graph
image.png
Add event tick (to let each moment examine if player still climbing or already declimbing
image.png

Set move up/down, left/right:


At Movement input in event graph, modify forward backward nodes as follow:
image.png
for left right movement nodes:
image.png
Finally connect left right node to forward back node by using the branch:
image.png

Setting when stop climbing:


In climbing loop command, false branch
image.png
And on release B key:
image.png

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
image.png
Repeat the same for left and right anim
Create blend space
image.png

Go to Anim BP, state machine
Add state, called Climbing
Add new variable, is climbing?
image.png
Open base to climbing
image.png
image.png
Open climbing node
image.png

Go back to 3rd person character BP, event graph
add 2 variables:
image.png

Back to Anim BP, event graph, add follow highlight:
image.png

To modify the climbing more smooth:
Add follow in ABP event graph:
image.png
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)
image.png
image.png

Back to Climb line trace function in character BP
set debug type to none
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.