08.03.2010, 17:48
Hi!!
I have created a speedo with gears,but i have promblems with gear R(reverse).
I have defined if the player's speed is more than 0 and he is pressing KEY_DOWN it writes R in gear.
But this is not correct,because if i driving and i start to brake it writes R because my speed is more than 0 and i am pressing KEY_DOWN.
I can maybe correct it with the angle of the car,no?
Can anybody help me?
I have created a speedo with gears,but i have promblems with gear R(reverse).
I have defined if the player's speed is more than 0 and he is pressing KEY_DOWN it writes R in gear.
But this is not correct,because if i driving and i start to brake it writes R because my speed is more than 0 and i am pressing KEY_DOWN.
I can maybe correct it with the angle of the car,no?
Can anybody help me?