ok.. sry for pushing this up again.. but i still have problems with the isometric view...

this is the basic code for setup the editor camera:
Code:
function temp_editor()
{
	var cul_k = 0;
	var cur_k = 0;
	var cuu_k = 0;
	var cud_k = 0;
	var r_k   = 0;
	vec_set(camera.x, vector(0,-2000,500));
	vec_set(camera.pan, vector(90,-50,0));
	vec_set(sky_color, vector(255,255,255));
	vec_set(screen_color, vector(255,255,255));
	
	ent_create("Template.mdl", vector(0,0,0), run_me);
	cursor = ent_create("Templatec.mdl", vector(0,0,4), NULL);
	set(cursor, FLAG2);
	ENTITY* cament = ent_create(NULL, vector(-150,-9000,300), NULL);
	vec_set(camera.x, cament.x);
	vec_set(camera.pan, vector(45,-30,0));
	set(camera, ISOMETRIC);
	
	
	while(1)
[...]



like you see, i put the camera on Y-position -9000
But now the Z-Value isn´t correct anymore...

Is there a way to correct the Z-Value automatically. Just once right at the beginning, so the cam shows the "cursor" Entity again with a distance to it of 9000?


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