@gandalfwisdom/pathbuddy
v1.0.1
Published
A basic pathfinding Humanoid mover for Roblox.
Readme
PathBuddy
A basic pathfinding Humanoid mover for Roblox.
Dependencies
This resource is dependant on the Nevermore framework. It will not work without it.
Features
Quickly allow the ability to move any character to a specified location using Roblox's built-in pathfinding API.
- Supports most rigs which have a humanoid.
- Perfect for NPCS, cutscenes, etc.
Usage
Initialize your PathBuddy object with a character and agent params:
local character: Model = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait();
local PathBuddy = require(path.to.pathbuddy);
local path_buddy = PathBuddy.new(character, {});Now it's as simple as calling:
path_buddy:MoveTo(Vector3.new(50, 1, 0));to move the character toward the supplied location.
Installation
PathBuddy supports Nevermore's npm package installation method.
Simply type npm install @gandalfwisdom/pathbuddy in your CLI on your project to install.
