Hello, is there any reliable way of inplementing pathfinding?
or even is there any reliable pathfinding module out there?
I got myself a pathfinding module called SimplePath by V3N0M_Z
But it doesnt seem to work:
Also heres the Code i wrote as well(the script is located in the ServerScriptService):
local SimplePath = require(game.ReplicatedStorage.Modules.General.SimplePath)
local Dummy = game.Workspace.Enemy5
local player = game:GetService("Players").LocalPlayer or game.Players.PlayerAdded:Wait()
local Character = player.Character or player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Goal = Character:WaitForChild("HumanoidRootPart")
local agentParams = {
AgentRadius = 2.8;
AgentHeight = 5.5;
AgentWalkableClimb = 2.0;
AgentCollisionGroupName = "EnemyNPC";
AgentCanJump = true;
}
local Path = SimplePath.new(Dummy, agentParams)
while wait(0.1) do
Path:Run(Goal.Position)
end
How can i solve this problem? or how can i find a better one?