Search Unity

Player movement has high sensitivity. Help!!

Discussion in '2D' started by ajihtr, Dec 2, 2018.

  1. ajihtr

    ajihtr

    Joined:
    Oct 27, 2018
    Posts:
    6
    I am making a Dodge the blocks game. I made everything but i realize that the player is moving with high sensitivity when I press the movement keys. Can anyone give a solution. Or give a more suitable movement script for Dodge the blocks game.
    Help!!
    Thanks in advance.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    What does your code look like?
     
  3. ajihtr

    ajihtr

    Joined:
    Oct 27, 2018
    Posts:
    6
     

    Attached Files:

  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    And reducing speed does not do what you want?
     
  5. ajihtr

    ajihtr

    Joined:
    Oct 27, 2018
    Posts:
    6
    No bro
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    Why? What happens if you put a really low value to speed (say, 0.01f)?
     
  7. ajihtr

    ajihtr

    Joined:
    Oct 27, 2018
    Posts:
    6
    It move really slow . I need the player to get speed gradually and reduce speed gradually. But it's not working as I wanted.
     
  8. ajihtr

    ajihtr

    Joined:
    Oct 27, 2018
    Posts:
    6