View Full Version : how to traverse the line segment automatically

11-08-2003, 04:38 AM
I have 10 points along a line, how to set the camera to zoom and traverse the line automatically? I'd very appreicate for your help! Thanks.

11-10-2003, 04:16 AM
You would use a timer and a data list of the points.

int point[10][3] = { {7 ,4 ,5} , ....};// 10 points for camera.

int time;
int view;

time is how long to wait before changing view, where points[view] vector is the point the carera is looking at.

As time how long you move between the two set points. points[view] to points[view+1].