2007 Climbing Type Physics

I’m making a 2007 brick battle game and I always knew that when a playing was going up a stairs type build the character would play the climbing animation. I tried replicating this, but I couldn’t find out how to detect if a player was even going up stairs…
Can anyone help?
Script examples will be appreciated!

3 Likes

I honestly have never made this, but I suggest you might be trying to detect:

  1. if the plr’s position changes along the vertical axis. If so, check whether or not it’s positive.
  2. when the previous condition is met, check if the player is touching the ground (if I remember right there’s a property in humanoid for such thing).

Verified these 2 conditions you can apply the desired animation while the behaviour is present in the player movements.

P.S. another low-effort way would be by adding an invis part that makes the player automatically be animated the way you want when it’s touched and he’s moving.

I tried doing this and I couldn’t find a way to check changes on the Y axis of the player character. None of the body part’s position values ever changed while moving, jumping or even going up wedges (for some reason).