Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Dec 10, 2016 at 01:44 PM by Bryangs for the following reason:

Other

avatar image
0
Question by Bryangs · Dec 08, 2016 at 05:23 PM · c#aimovearoundwander

How to make an AI that moves around

Hey mates, i already made some AI scripts in the past, but i wanted to take another step. I have made an AI that follow the player based on his coordinates, i made an AI that is always looking at the player, and i made an AI that will randomly choose between one point or another, but i wanted to make an experiment. I know that this is kinda "science fiction", but i want to make an AI that will basically LOOK FOR/SEARCH FOR the Player. I want to make an AI that will behave as another player. Something that doesn't make what you order, something that just try to find the player. I am planning to make something that will save it's strategies and make it get better as the time goes on, like what Glados was trying to make in Portal 2, but how do i make an ai that moves around? Like just move around using the NavMeshAgent. I can do the rest, i just don't know how to make this part =\ Could you guys show me a tutorial or something? Thanks in advance!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0

Answer by Mergster · Dec 08, 2016 at 09:31 PM

EDIT2: OK, after a bit more researching, I found something more that may help:

http://answers.unity3d.com/questions/510659/move-randomly-npc-using-a-pathfinding.html

http://answers.unity3d.com/questions/475066/how-to-get-a-random-point-on-navmesh.html

https://forum.unity3d.com/threads/how-to-get-a-random-destination-on-navmesh.186547/

Comment
Add comment · Show 7 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bryangs · Dec 08, 2016 at 11:11 PM 0
Share

I have made an AI that follow the player based on his coordinates

Yes, i know how to make the AI follow the player, i was saying that i wanted to make it move around and try finding him.

avatar image Mergster Bryangs · Dec 08, 2016 at 11:19 PM 0
Share

Oh. Um....isn't that the same thing??? If the AI know the Player's coordinates, then couldn't he hunt down the player? So what you want is the AI to move around and look for the player without any coordinates? Srry. I'm all confused

avatar image Pr0totype2 Mergster · Dec 08, 2016 at 11:24 PM 0
Share

I'm sure he's looking into on how to make a NPC roam around on the terrain by "itself"

Show more comments
avatar image Bryangs · Dec 09, 2016 at 12:57 AM 0
Share

Hm, it is very buggy =\ and i want to combine it with the navmesh.

avatar image Mergster Bryangs · Dec 09, 2016 at 05:23 AM 0
Share

Hmm....Well, I'll try and figure something out.

avatar image Bryangs Mergster · Dec 10, 2016 at 01:44 PM 0
Share

These codes are either outdated or badly written, missing a lot of references and with nonsense things such as private Target target; and seeker; this doesn't even have any sense... I am going to find an answer for this eventually, never$$anonymous$$d.

Follow this Question

Answers Answers and Comments

265 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to make enemies randomly wander in a certain area of NavMesh? 1 Answer

Distribute terrain in zones 3 Answers

Multiple Cars not working 1 Answer

Move a Third Person Character via move-method 1 Answer

Send an enemy back to its spawn point using waypoints 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges