im not sure about that, im going to try and find some answers to that and inform you when i do since i usually use wait() inside my pathfinding scripts.
I use a for i, v in pairs(waypoints) do, so i dont really need to use wait
This post has an similiar problem but is solved i belive basically his NPC stops for more than a second and thats what is happening to your NPC too
I dont have a number in the movetofinished, its just movetofinished:Wait()
Hm change its network owner of the character to the server it should make your character animations smoother!
Link to the tutorial (by roblox):
Did you try it yet?
If you did or if its not working please inform me since im waiting for your reply.
I tried setting the network owner nil, but it doesn’t work, nothing changes:
ai.PrimaryPart:SetNetworkOwner(nil)
Watch this video from the given time he is explaining more about network ownership and will help u alot!
oh sorry did not see your message…
i cant think of what else would break it but could you try looping your walk animation maybe?
It is looped, it may be a ROBLOX issue, because I can’t find anything that may be wrong with my script causing it to act like this.
what i recommend is to remove the roblox animation script and just have one animation which is “Walk” and it would be playing all the time without any stops and everything thast script would contain is just playing the animation.
Yea, I tried this too, but it does not fix the problem, I have made a whole other script, and tried to alter the default animate script, but nothing seems to work.
I really can’t think of any other problem than lag. Maybe your studio is less lagy and everything i recommend is checking your studio FPS and your actual in-game FPS if your in-game FPS is lower then you know what is the problem if not then i don’t know what could be causing this issue.
maybe try using a different animation to see if the problem is caused by your walk animation
It could be this error: it only seems to happen in game, not in studio
Try searching about that error since i can’t right now im also making my own game and at the same time trying to help you.
I fixed it temporarily, I used math.huge as waypoint spaceing
Nice!
Can’t wait to see your game when it get’s relased