Search Unity

A Waypoint Script Explained in Super Detail!

Discussion in 'Scripting' started by cherub, Jul 17, 2010.

  1. Buemi-CZ782

    Buemi-CZ782

    Joined:
    May 31, 2017
    Posts:
    1
    Can someone help me? My car is going only from the first waypoint to the last one. Please...
     
  2. Reedex

    Reedex

    Joined:
    Sep 20, 2016
    Posts:
    389
    flawless , many thanks
     
  3. jbizzy129

    jbizzy129

    Joined:
    Dec 26, 2012
    Posts:
    11
    Is their anyway to make the object from from waypoint a to b then to c, then from c to b to a, in other words, alternate from going through the waypoints forwards then backwards. I need this in C sharp
     
  4. kingjolz

    kingjolz

    Joined:
    Jul 13, 2016
    Posts:
    1
    set the inertia below 1 to like 0.9 or something
     
  5. Microrican

    Microrican

    Joined:
    Aug 30, 2017
    Posts:
    2
    well i did that and my monster will not walk to waypoint 1 first he always starts at waypoint 2 and then goes to the rest and goes to number 1 last then repeats the process.

    I have even pulled the waypoints above ground to test if that was my problem but to no avail still starts always at waypoint 2 instead of 1.

    I followed the instructions to the letter and i am using the C# code released above instead of the java