Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

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:
    10,982
    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:
    10,982
    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:
    10,982
    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