Does my model post to do any kind of animations with this code or not, But my character moves and is animated the whole time with the code below. I have 3DGS 6.6V. Or is there a bug in 3DGS? or Whats What?


/////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////

var video_mode = 7; // 800x600 pixels
var video_depth = 32; // 32 bit mode



////////////////////////////////////////////////////////////////////

string W1_wmb = <W1.wmb>;

////////////////////////////////////////////////////////////////////


function main()
{
fps_max = 30;
level_load (W1_wmb);
wait (3);
camera.x = -12; //set a static position for the camera
camera.y = 740;
camera.z = -2361;
camera.pan = 90; // set the correct orientation for the camera
camera.tilt = -20; // using its pan and tilt angles
}

action cbabe
{
my.fat = off; // the first 3 lines of code
my.narrow = off; // enable the new
c_setminmax(my); // collision detection system used by A6.2 or newer versions
while (1)
{




// move the car using absolute_speed
if (key_cuu == on) // press and hold the "Up" arrow key to move the car
{
c_move(my, nullvector, vector(0, 4, 0), glide);
camera.y += 500;
}
if (key_cud == on) // press and hold the "Down" arrow key to move the car
{
c_move(my, nullvector, vector(0, -4, 0), glide);
camera.y -= 500;
}
if (key_cul == on) // press and hold the "Left" arrow key to move the car
{
c_move(my, nullvector, vector(-4, 0, 0), glide);
camera.x -= 1;
}
if (key_cur == on)// press and hold the "Right" arrow key to move the car
{
c_move(my, nullvector, vector(4, 0, 0), glide);
camera.x += 1;
}





//rightr
if (key_d == on)
{
my.pan += 1; // increase the pan angle of the car
}



if (key_a == on)
{
my.pan -= 1; // decrease the pan angle of the car
}





if (key_space == on) // press and hold the "Space" key to move the car
{
c_move (my, vector(4, 0, 0), nullvector, glide);
}










wait (1);
}
}


//////////////////////////////////////////////////////////////////////////

Last edited by manic7creations; 07/03/07 22:18.