Hello there guys
I've been trying to make a bike work for a 3D infinite runner. Thing is, when I hold accelerate it moves really slow (constantly stucking like if it was with 7~10 fps). With fraps I got 60 fps, so it is not fps problem. When I release the accelerate button, however, all the acceleration it got while I was holding, is instantly released too, so it moves like it should have been since the key was hit. Other thing I have noticed is that the wheel of the bike only move properly when the accelerate is released and is steering for one side. Steering to the other makes the wheel rotate, but, reversed.
This is my code:
https://pastebin.com/ynNkVmKh
Thank you