How can an character AI know when it is walking up stairs?

I want to be able to change my NPC walking animation to a stair climbing animation, just not sure how the AI detects this?

Hey @Elliottcoe!

You can easily do so with a collision enter/exit check that updates the variable for your animation. The tricky part is setting up your animation to match the stairs as they go up.

Here is a non Epic affiliated video that shows you how you can possibly pull this off:

Triggering Animations with Blueprints - 04

I hope the above solution works for you!

1 Like

You are NOT wanting to use/create IK for your skeleton?