Roll on ..

Blitz3D Forums/Blitz3D Programming/Roll on ..

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.

Im moving each asteroid along a vector using x and z velocity values.

So im free to turn it and rotate it at will without affecting the direction its moving in.

So what im trying to work out is by looking at the angle which its moveing, is there a way to make it turn in that direction. I recon I could just create a lookup table with set pitch yaw and roll values for each direction, but I think there must be a better way.