Describe the bug:
When an npc starts sliding, it doesn’t stop sliding as long as it is moving in mode 3.
How do you cause this bug?
- List the steps
attach this to a script on an npc:
function Test:Init()
local me=self:GetEntity()
self:Schedule(function()
Wait(1)
local player=GetWorld():GetUsers()[1]:GetPlayer()
me:MoveToPosition(player:GetPosition(),3)
Wait(.5)
me:SetCrouching(true)
Wait()
me:SetCrouching(false)
while true do
me:MoveToPosition(player:GetPosition(),3)
Wait(.1)
end
end)
end
Screenshots / video of bug:
Which platform: PC
Which input: keyboard + mouse
Your Crayta username: Daigoro
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
100%
Version number (found in Help tab in Settings): 0.f3.28.120518