Can you show me a project file that works with a dummy?
alright, give me a few minutes
since the place file that worked for me is currently a test from things Iâve tested before. If thatâs okay.
AStarPathfinding.rbxl (96.2 KB)
If your wondering if the script is not like the code I gave you is because some changes were giving the execution time error for something (I donât know why)
Yes i have a similar one, i will post it tomorrow morning im working on it right now. i found out the issue that caused the crash, it seems like the workspace:getPartBoundsInRadius(neighbor, 0.2) > 0 did include the ai character and that made it infinite loop since the first part was blocked.
I mean if the A* included the ai which is the NPC it wouldnât detect walls just the NPC itself.
also you included âParams.FilterType = Enum.RaycastFilterType.Excludeâ in your loop which could be assign at the top. that causes a little bit lag
if you were talking about my Script
No its my script but i did found some things that cause lag and jitter
well sorry if my script caused them, again I got help on the person that helped me with it. But I hope my script works well and also solved the problem. (I think)
also I did see if the A* can see if it would detect the goal on a higher part on the obstacle, it wouldnât. lol
also another thing to point out sometimes if the goal is like in a very long path sometimes it would lag. From the debug.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.