tracing rocket movement

Blitz3D Forums/Blitz3D Programming/tracing rocket movement

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i am looking to make a rocket that can turn towards and chase my player.

i have code that does that - it turns towards him a little using alignentity and moves forward.

the deal is that i want the rocket to slide sideways as it is turning, instead of always going forward - it needs to have sideways momentum. if you turn the rocket 90 degrees it shouldn't immediately start moving 90 degrees to its initial vector, it would still slide in the original direction for a bit. like your ship in asteroids.

is there any code for simulating this? i need it only in 2d, essentially because my playfield is flat.

thanks for any help!