Search Unity

Uncontrollable Top-Down Player Script

Discussion in 'Scripting' started by Superjamessize, Dec 10, 2018.

  1. Superjamessize

    Superjamessize

    Joined:
    Oct 13, 2017
    Posts:
    3
  2. Superjamessize

    Superjamessize

    Joined:
    Oct 13, 2017
    Posts:
    3
    Progress report, the script now works and the block follows my mouse movement however every time I start the script it seems to jump in the air
     
  3. newjerseyrunner

    newjerseyrunner

    Joined:
    Jul 20, 2017
    Posts:
    966
    Do you have other objects attached to your player? Lots of time a random object having a collider is the issue.
     
  4. Superjamessize

    Superjamessize

    Joined:
    Oct 13, 2017
    Posts:
    3
    I actually managed to fix it, I'll act like I know how; nothing is wrong with the code now however I would like to make the mouse movement script I added a bit less sensitive; I was planning on changing the title for random enquiries