Search Unity

How can i create a code that "boost" the player horizontally

Discussion in 'Getting Started' started by TedEatPant, Jun 21, 2019.

  1. TedEatPant

    TedEatPant

    Joined:
    Jun 21, 2019
    Posts:
    1
    Is there any way to boost a player horizontally with the press of a button eg."c". im making my game in 3d and can't find any tutorials to help.
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    You won't find a tutorial that covers every single feature that you can imagine. Rather, you want to learn all of the basic engine functionality and then you'll be able to figure out how to solve all of these problems on your own. Actually, this should cover everything you'd need to implement this feature:

    https://learn.unity.com/project/beginner-gameplay-scripting