Okay here's the deal. I need someone to either code a bit or tell me how to code Top View enemy AI. its a shooter and i need to make it so that enemies turn appropriatly when the are running in to walls. i dont want to use any pathfinder things i want it to use only about 3-4 active objects per enemie (collider, animation and detector)
i have made one but they go jittery when the look at a wall. REALLY need help
will even put your name in the credits! (Scraping the bottom of the barrel eh?)
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
If they jitter when touching a wall, make sure they move when the colliders are NOT over anything, instead of moving, then moving back if they ARE over something.
you could try making the levels set out so its impossible for an ai controlled character/enemy, to hit a wall.
.
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
18th February, 2004 at 16:35:36 -
with MMF you can use the collision mask condition instead of detectors to create a fairly advanced AI that doesnt even hit walls. do a good old article search: look out in particlar for one by jannis stoppe which you'll need for it to work properly.