Anyone?

What I basically need is a moving platform that can turn and fly around and take the player with it. It can't be that hard, I just don't know what to do.

That's what I have so far:

Code:
action player_ship {
ship = me;
while(1) {
my.polygon = on;
my.fat = on;
c_rotate(me,vector(ship_pan*time_step,0,0),glide|ignore_passable|ignore_passents);
c_move(me,vector(ship_force*time_step,0,0),nullvector,ignore_passable|ignore_passents|glide);


vec_add(player.x,my_speed);
wait(1);
}

}



The question is, how do I get him to change his position with the rotation of the ship/platform and also change his pan accordingly?