When it comes to turning, the car seems to control fine, but it continues to move forward when I release the arrow key. Is this supposed to happen?
Hi Natetendo,
Have you already tried to add Debug.Logs to your code to see what is going on during runtime? For example, you could check the value of moveAmount
. Since the car seems to keep moving even though your released the key, it would be interesting to know if moveAmount
becomes 0 as it is supposed to.
Hi Nina,
I was able to fix the issue. It discovered that since I had changed the gravity value from 3 to 0 in the project settings, the car wouldn’t stop properly. Thank you for your time though!
Good job on fixing the problem!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.