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 /
  • Help Room /
avatar image
1
Question by Lupus · Sep 20, 2015 at 10:38 PM · aicarwaypointwaypointswaypoint system

What is a WaypointCircuit? How I make one?

I'm trying to make a car AI and was checking the unity vehicles standard asset. It has an example of a CarWaypointBasd that use a WaypointCircuit. What is this WaypointCircuit? I found a few videos using it, but I couldn't find what is it or how to make my own to use it.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Jimirillo · Apr 01, 2016 at 03:21 PM

@Lupus I've just figured this out while looking for the answer to the above question. Create an empty gameobject (your circuit) and attach the 'WayPointCircuit' script from the standard assets. Create a bunch of new empties as your waypoints and attach them to your circuit. then in the waypoint circuit script, hit the 'Assign using all child objects' button to create the circuit. Drag your circuit object onto the AI cars Waypoint progress tracker script.

Comment
Add comment · Show 1 · 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 AGENT_GAMER · Jul 24, 2017 at 02:14 PM 0
Share

Hi, it seems that works but i have this messsage on the console "Retrieving array element that was out of bounds" and "UnityEditor.SerializedProperty:InsertArrayElementAtIndex(Int32)"

I have 4 waypoints and de AI car follows them correctly but i have this erros and the thing doesn't finish.

if i put a waypoint in the target field of both or separately "Waipoint progress tracker" and the "Ai car script" the car does not stop.

Any idea? Thanks a lot!

avatar image
0

Answer by EnriqueL · Sep 21, 2015 at 11:24 AM

A waypointCircuit is mainly an array of emptygameobjects that you use to move another game object, from point to point, in your case to move the IA car along the track. you can use this tutorial as base Tutorial

Comment
Add comment · Show 1 · 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 Lupus · Oct 12, 2015 at 01:41 AM 0
Share

$$anonymous$$y problem is how to make a waypoint circuit that can be used with the unity vehicle asset. There is a CarWaypointBased prefab on it that requires a Waipoint Circuit object that I don't know how to create to use.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

AI Waypoint rotate problem 0 Answers

what's wrong with my waypoint placer script 0 Answers

Why the loop in waypoints in not working when set to true? 0 Answers

Several NPC with waypoints 1 Answer

Error with AI going to Waypoints,Issues with AI tracking waypoints 0 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