shogun3

ACTIVATED

ACTIVATEDprofile

48162010-03-0183

I was trying to create a car system with accelleration (there are couple of scripts out there but they don't work with the custom ones I use), in which for instance you accelerate and move forward by pressing up, break by pressing x, move backward by pressing down, turn 45 degrees left while pressing left and turn 45 right by pressing right.

The problem is that it's not possible to turn 45 degrees left or right, so I tried with a gimmick, when everytime button left (or right) is pressed it adds 1 to variable 1 so you can gradually turns and when up is pressed it moves to the direction memorized by the variable.

Example (assuming the character is facing left): if Variable 1=0if button left is pressed

The problem is that the character turns just fine, but only moves when left is not pressed anymore. If I try to move by pressing up and left together (attempting to turn and move at the same time) it wouldn't work.