PDA

View Full Version : Multiple frames in a cog



Jindu
01-14-2001, 09:16 AM
How would I add more frames to a cog thats move a 3do around?

------------------
The computer is a window to the world, and the cell that keeps you from it.

Xenophoebic
01-16-2001, 01:44 PM
What cog?

Ruthven
01-16-2001, 01:53 PM
eg
a tie fighter has 4 frames
(x,y,z)0
(x,y,z)1
(x,y,z)2
(x,y,z)3
To move it in a cog, get a cog like simple elev

if it says in a cog

MovetoFrame(elev, 0, speed);

there will be other lines above and below this line, just add other lines like so

MovetoFrame(elev, 1, speed);
MovetoFrame(elev, 2, speed);
MovetoFrame(elev, 3, speed);

the speed is determines as local speed which you can change your self. 0 1 2 3 are the frames. to get more than one frame on your 3do, add more FRAME values and change numframes to the number you want eg.4

God knows why Im telling you this, I know nothing about cog's

Jindu
01-16-2001, 04:08 PM
Well, if you know nothing about cogs then that was one hell of a guess. Sense I could now access massassi and there forums I'll try it out.

------------------
The computer is a window to the world, and the cell that keeps you from it.