- Home /
Discovered solution myself
Horizontal and Vertical Input already receiving input?
EDIT: (I've discovered that if I don't multiple them by deltaTime, the inputs hover at 10 and go to 9 and 11 respectively, is something wrong or should I just subtract the whole thing by 10?)
Second Edit: (the 10 is literally the speed, sorry I'm slow, I think I can work out what's going wrong from here. Don't know how to close the question.)
I'm trying to follow a first-person player controller video on youtube, and I encountered an issue with a code controlling the translation movement of the player. For some reason, when I press play, it seems that unity is already receiving partial horizontal and vertical input somehow, while no keys are down. I can't help but feel like I'm just doing something ever so slightly wrong. I've attached a screenshot displaying my problem, as well as a link to the video I'm following: https://www.youtube.com/watch?v=blO039OzUZc
Follow this Question
Related Questions
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Problems with Player Movement and Camera Movement clashing, any solutions? 0 Answers
Rigidbody movement not working after build 0 Answers
How do I disable player input action map and enable the UI action map? 4 Answers