Hi everyone,
My 2D car is steering 360° by it self when pressing left or right. I would like to steer it only when I’m moving forwards or backwards. How can I do that? thanks
Hi,
With &&
(and) and ||
(or), you could combine if-statements. The code for the rotation could be moved to the if-block in which you move the car backwards or forwards.
Did this help?
See also:
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.