Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Kart Game scripts

Discussion in 'Scripting' started by unity_kvWFeujOEra0nw, Sep 2, 2020.

  1. unity_kvWFeujOEra0nw

    unity_kvWFeujOEra0nw

    Joined:
    Feb 27, 2020
    Posts:
    1
    Hi, so i`m new on unity 3d, and I found on the unity website this kart game, and I started programming on it, but I have a question, how can I make the kart in the kart game just accelerate automatically, `cause I`m trying to learn how to make those games who you just dodge the game objetcs.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,398
    Wherever the gas / throttle input is, instead of taking what the user inputs, always assert the same non-zero throttle you want to achieve.