hmm works great..
Only thing i needed to change, are the plates in WED.. Seems like:
Copy the group => rotate it 180°

makes the slope-plates to 270° and above...

I set them now by hand.. works great.. Now i try steep-circles


Edit.. ok. new problem..
I wanted to set the camera behind the ball, but a bit higher:
Code:
function camera_handling()
{
		VECTOR tmpV2;
		var hight;
		while(1)
		{
				vec_set(tmpV2, vector(camera.x,camera.y,camera.z-9999));
				vec_rotate(tmpV2, camera.pan);
				c_trace(camera.x, tmpV2, IGNORE_ME | USE_BOX);
				if(you != NULL)
				{
						camera.tilt   = you.roll;
						camera.roll   = you.tilt;
						camera.pan    = player.pan;
						camera.tilt -= 10;
						hight = vec_dist(camera.x, you.x);
						if(hight < 20)
						{
								c_move(my,vector(0,0,20-hight),nullvector,GLIDE);
						}
				}
				else
				{
						vec_set(camera.pan, vector(player.pan, player.tilt - 10, player.roll));
				}
				wait(1);
		}
}


But the cam is not rotating with the ground-plates...

Last edited by Espér; 04/09/09 11:42.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<