i already did.
i replace the update view with this..
Code:
        camera.x = my.x-100*cos(my.pan);
	camera.y = my.y-100*sin(my.pan);
	camera.z = my.z+50;
	camera.tilt += mouse_force.y;
	camera.pan = my.pan;
	if(camera.tilt < -50) {camera.tilt = -50;}
	if(camera.tilt > 20) {camera.tilt = 20;}


however here is also the update_view code.. it only toggle between 1st to 3rd person view..

Code:
function update_views()
{
	if (cam_mode == 0) //first person
	{
		camera.x = my.x;
		camera.y = my.y;
		camera.z = my.z + eye_height;
		camera.pan = my.pan;
		camera.roll = my.roll;
		camera.tilt = my.tilt + tilt_1st;
	}
	else  //3rd person
	{
		dist_planar = cos (tilt_3rd) * dist_total;
		camera.x = my.x - cos (cam_angle) * dist_planar;
		camera.y = my.y - sin (cam_angle) * dist_planar;
		camera.z = my.z + sin (tilt_3rd) * dist_total;
		camera.pan = cam_angle;
		camera.roll = 0;
		camera.tilt = - tilt_3rd;
	}
}


yes, the player_teleport trigger work but only after
the player touches the object or bump to it.
then it will go somewhere else. but it doesnt matter
cause the movement (panning of object) happen before i touches it.

i guess probably it got to do something with the you. smile
ill run a test again.. anyway thanks for your time on this
i really appreciate it.. smile

Last edited by bobby_danseco; 03/23/09 08:29.