NPC walking stucked

I have an NPC which is stucked walking and I need to fix this problem basically It’s doing this only with this brainrot and not the other brainrots. I tried changing the HipHeights didn’t do anything at all so.

1 Like

Changing the HipHeight isn’t a good solution I want the NPC to overcome the obstacle that avoid him to walk above without HipHeight. We also tried changing the AgentHeight

I’ve never tried this, but there is a setting for that:

npc.Humanoid.MaxSlopeAngle = 60

45 in this case most likely. Maybe it’s just 2.
Not really sure.. the default is 1, 1 stud.

I might be mixing commands up..

npc.Humanoid.MaxStepHeight = 2

Sounds more like it, and that is the one with the default of 1.

I just make little ramps for them :rofl:

Really damn I’ll try these settings at this point

MaxStepHeight doesn’t exist actually

local path = PathfindingService:CreatePath({
			AgentRadius = 6,
			AgentHeight = 20,
			AgentCanJump = true,
			AgentJumpHeight = 8,
			AgentMaxSlope = 60,
			AgentMaxAcceleration = 1000,
			WaypointSpacing = 4,
			Costs = {
				Stone = math.huge,
				Rock = math.huge,
				Mushroom = math.huge,
				Blacksmith = math.huge,
				Chest = math.huge
			}
		})

tried changing the AgentMaxSlope to 60