Im trying to make a npc move in a random direction without hitting walls like the npc’s in this game [10X COINS] ✨ Magic Simulator - Roblox is raycasting the best option for doing this? The npc im using doesn’t have a hrp so i cant user Humanoid:MoveTo().
this is great for NPCs. basically it’ll make sure that where ever you try to make your NPC go it’ll find a fitting path to it without hitting any parts defined as wall. However you might want to concider adding a humanoidRootPart to your NPC aswell.