Hi everyone. I am busy creating a 2d game and i want to make the following.
i have a 3d model and my camera operates as orthographic so that the model appears as a 2d model.
i have two keyboard sensors and two motion sensors. the first sensor is for the right arrow and controls the collision_box attached to my model to move forward on the (+x-axis) and the other sensors control the collision_box to move backward(-x-axis). i want the model to face the direction at which it moves. i.e. when i press the right_arrow my model face at the positive x-axis and when i press the left_arrow my model should not move backward facing the positive x-axis but it should also flip and face to the direction of the negative x-axis.
any help will be appreciated.
sorry for my bad english.