I am trying to make my pathfinding NPC do climbing but I don’t know if there is a humanoid state type that can make the NPC climb. is there a way I can make it do climbing?
the script for my pathfinding NPC:
I am trying to make my pathfinding NPC do climbing but I don’t know if there is a humanoid state type that can make the NPC climb. is there a way I can make it do climbing?
the script for my pathfinding NPC:
or is it not possible to do it?
I’m pretty sure just walking up a climbale object should make it climb
it is not a climbing truss though so I don’t know.
You can’t make humanoids climb unclimbale updates unless you tween their position
have you tried:
Humanoid:ChangeState(Enum.HumanoidStateType.Climbing)
To get if the humanoid is climbing, you can use Humanoid:GetState()
:
local climbing = (Humanoid:GetState() == Enum.HumanoidStateType.Climbing)
So yes there is a HumanoidState for climbing, and it is Enum.HumanoidStateType.Climbing