how do you make an enemy AI without using scripts that are already supplied by unity. thanks in advance.
This is a broad question. You might get better results if you narrow it down to something like "I want to make an A*" algorithm" or "How to have enemy follow player" because right now it is hard to give a good answer. I would recommend reading up on AI designs and algorithms for starters.
Peter G is right. Even beyond that, you should detail what sort of game you're going for, as things would be different if you're developing a 3D game or a 2D one; if there are varying heights; if there's cover; etc.
thanks i will look that up but i was thinking of just waves of AI attacking from all around
Answer by runevision
Apr 26, 2010 at 09:31 AM
Your question is very broad and non-specific. I suggest you have a look at this questions and its answers:
AI Programing Resources
You can also browse the highest-voted questions with the ai tag.
Answer by Ashkan_gc
Apr 26, 2010 at 12:03 PM
i don't want to repeat what others said.
for creating AI you can use one of these ways
1 there are complete solutions for behavior trees, path finding, steering behavior and ... available. take a look at angryant's website
2 use DLLs or create your own dlls and call them from unity (pro only). this is good for complex codes that they need much speed.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
No one has followed this question yet.
Audio Source AI Attractor
need help with enemy script
enemy AI script
Entegrating AIFollow.cs and Wayfinder.js (A* Pathfinding Aron)
Suggestions for AI Selecting From Multiple Targets?