Question about humanoid states for static NPC

Hello
Do I need to disable humanoid states , if my NPC is anchored?
(I subscribed to the event StateChanged, but I do not see it trigger for my NPC either on the server or client).

If I need to disable states, do I need to do it on the server or on client?

Thanks

I don’t think you need to, but if you will do it on server, so it is shared across all clients.

If the HumanoidRootPart is anchored yes you can disable 90% of the NPC’s humanoid states without consequences

but does it matter if they are enabled if the NPC is anchored?
and which 10% must I leave active?

No they don’t really matter. Like why would you need the FallingDown, or the Swimming states, if the NPC is anchored (consequentially never even moving)? I’d only keep the PlatformStanding and None states enabled (you may not even be able to disable the None state anyways). You should try yourself tho, disable all of them and see if anything changes. Don’t only wait for people to answer on the DevForum

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.