Sythivo / AIEngine

A Roblox module
MIT License
8 stars 1 forks source link

[AIEngine] AI stutters after jumpscare #7

Closed GalladeR475 closed 1 year ago

GalladeR475 commented 1 year ago

@Sythivo hey there, I made the mimic AI using AIEngine and I wanted to know how I could fix this bug. basically, the AI starts stuttering [during movement] after the jumpscare. All I do is set the walk speed of the AI using AI.Movement:SetWalkSpeed(...).

Start Event

image

Jumpscare Mechanism

image

Here is the issue

Sythivo commented 1 year ago

If you ever Anchor the AI, the network ownership can reset, from server to automatic, make sure after Unanchoring the AI, you SetNetworkOwner.

GalladeR475 commented 1 year ago

My current AIEngine code doesn't anchor the HumanoidRootPart, but this solution resolved it. Thank you. image

OTHER REFERENCES TRUNCATED