Archived

This topic is now archived and is closed to further replies.

fractionMan

2D Vector Problem: asteroids style thrust

Recommended Posts

I have a problem with my 2D engine. Basically, I'm trying to implement the 'thrust' of an asteroids style spaceship. This is where you thrust in a different direction from the one you're currently travelling in. I have a vector representing the current direction and speed, and I also have a unit vector representing the direction faced. It's ok if there's no speed limit, but that's not good enough. How can I add thrust in a different direction realistically and keep to a speed limit at the same time ? Any tips appreciated. Edited to add: this should be easy for you lot [edited by - fractionMan on March 16, 2003 1:27:16 PM]

Share this post


Link to post
Share on other sites