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.
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.