Search Unity

Need vehilcal AI

Discussion in 'Scripting' started by zaptech123, Aug 20, 2014.

  1. zaptech123

    zaptech123

    Joined:
    Sep 2, 2013
    Posts:
    9
    Hi there,
    I am creating a vehical AI, all is working fine but I am not able to steer properly when detecting an obstacle,
    if anyone has any code example or suggestions please share.
    thanks
     
  2. domkia

    domkia

    Joined:
    Aug 19, 2012
    Posts:
    99
    flattutorials on youtube has some really great tutorials
     
  3. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,359
    Do you mean opponent's car A.I?
     
  4. zaptech123

    zaptech123

    Joined:
    Sep 2, 2013
    Posts:
    9
    Yes.
     
  5. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,359
    If you want it to be neutral (just riding to the finish line), you may use NavMesh which automatically makes it go to the specified target. I cannot give you neither code nor documentation, but YouTube is a great place to get started.