Search found 1 match
- Sun Sep 24, 2017 8:57 pm
- Forum: Support and Development
- Topic: Steering Movement Help
- Replies: 3
- Views: 2998
Re: Steering Movement Help
Hey, basically what you need are these two lines: player_x = player_x + math.cos(player_r) * speed * dt player_y = player_y + math.sin(player_r) * speed * dt If you are not familiar with trigonometry, I suggest googling about how sin/cos (atan2 might also help you in the future) works. I'm attaching...