0 votes

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:


Thank you

in Engine by (28 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.