Multi-threading NPC help

How should I handle a multi threaded state for NPCs on the client? (they’re rendered via raycasts to snap to the ground with some interpolation)

currently I’m following roblox documentation and I create 24 actors and cycle between them when using a Heartbeat loop to render each NPC on the client

I’m wondering if it’s better to make a actor for each NPC (not directly under the npc hierarchy but under a folder that contains the actors for each npc under the master script)

But If anyone can guide me in the right direction it is greatly appreciated.

1 Like