simplepath
simplepath copied to clipboard
SimplePath is an open-source pathfinding module that gives you the ability to quickly create a pathfinding script for humanoids and non-humanoids with just a few lines of code.
- Add an ENABLE_WARNINGS setting to disable the stopping while idle w… - Updated Reference URL to working github location
Converted chunks of the lua code to luau code, such as using "if-then-else" statements instead of "and-or" and "or" statements. Added Signal.lua (GoodSignal) and replaced the use of BindableEvents with...
```lua local p = require(game.ReplicatedStorage.Util.SimplePath).new(workspace.Rig) task.spawn(p.Run, p, Vector3.zero) p:Destroy() ``` This will cause an error because while the path is being computed `_path` becomes `nil`.
For some reason, Simplepath only works if Script is in RIG itself, and if a separate script that refers to RIG does not work anything