I use this code for my spacesim. It works perfectly.
After pressing the W button, the ship gain up speed until it hits the maximum. And it works the other way through the S button. I set Float for maximum speed and for maximum negative speed.
I am not a programmer, but a 3D artist. And I’m trying to make sure that the speed gain doesn’t happen all the time.
I’m trying to do this: The ship in a calm state has a speed of zero. When I press W, I add speed. And when I press S, I turn it down. Zero acts as a reference point.
Can someone explain how to implement this? I will be very grateful.