Hi! I've wrote a little script that maybe helps you to position your camera.

Code:
#include <acknex.h>
#include <default.c>

void main()
{
	level_load("test.wmb");
	while(1)
	{
		camera.x += (key_w-key_s)*5*time_step;
		camera.y += (key_a-key_d)*5*time_step;
		camera.z += (key_cuu-key_cud)*5*time_step;
		camera.arc += (key_q - key_e)*5*time_step;
		wait(1);
	}
}

PANEL* cam_poition =
{
	digits(5,5,"CAMERA_X: %.1f",("Arial#20"),1,camera.x);	
	digits(5,25,"CAMERA_Y: %.1f",("Arial#20"),1,camera.y);
	digits(5,45,"CAMERA_Z: %.1f",("Arial#20"),1,camera.z);
	digits(5,65,"CAMERA_ARC: %.1f",("Arial#20"),1,camera.arc);
	flags = VISIBLE;
}


EDIT: Just edited the code, thanks Quadraxas didn't know that so far. grin


Last edited by Phonech; 05/28/09 20:21.