I'm going to make a boss battle, where a worm travels through a maze perfectly (As in it doesn't run into walls or try to go through them.) I don't need a code answer, just ideas on how I would do this.
All ideas accepted! I don't want this to become the next portal question. Help always appreciated!
First you need your boss creature correctly made so it has the correct Motor6D's and your boss creature is welded/heldtogether properly so it will be able to move around and not fall about when unanchored. Then, you need to use Pathfinding which start point would probably be the Torso of your boss and you would probably want to put random invisible parts along your maze which will become the end points for your boss creature to move to. You'll also want to make the damaging some how and if you're going to add animations, you need correct Motor6D usage along w/ a HumanoidRootPart and Animation controller inside. This is the barebones of what you'd need to do!
Learn about Pathfinding service
Learn about MoveTo for the Humanoid
Learn about Touched event, Could use for damaging
Learn about randomness, could use for a more random pathfinding
i would probably say use the pathfinding service. Make a script that randomly changes a value for the end of the pass wit the main part (toso ,ect.) of the creature the start of it
Since you're just looking for some insight on how this could be possible, I'd strongly suggest looking into ROBLOX's pathfinding API. You can access it as a service, and there's a bit more information about it here: http://wiki.roblox.com/index.php?title=API:Class/PathfindingService
If you need some help or want some examples, message me on my ROBLOX account and I'll try and help.
Pathfinding service. Is the most efficient way. http://wiki.roblox.com/index.php?title=Pathfinding And I'm sorry since I can't comment I just answered it this way.