Hey there, I got a basic pathfinding script for a character in my game. It worked when the character and the destination are on the baseplate, but not on a terrain. The character is not anchored.
local PathfindingService = game:GetService("PathfindingService")
local zombie = script.Parent
local humanoid = zombie.Humanoid
local destination = game.Workspace.dest
local path = PathfindingService:CreatePath()
path:ComputeAsync(zombie.HumanoidRootPart.Position, destination.Position)
humanoid:MoveTo(destination.Position)
Does anyone have a solution?

1 comment
I'm not that good at scripting but an idea is if you instead create an invisible part just on top of the terrain so that it creates the illusion that it is pathfinding on terrain... again i'm not that good at scripting but it's an idea