Hi..
I created this Script:
Code:

function rotate(h_direction)
{
	while(sign(ang(h_direction - player.pan)) != 0)
	{
		h_directionset = sign(ang(h_direction - player.pan));

		player.pan += (h_directionset*20)*time_step;
		if(fraction(player.pan) >= 0.5)
		{
			player.pan = integer(player.pan)+1;
		}else
		{
			player.pan = integer(player.pan);
		}
		wait(1);
	}

}


This rotates the player to an angle i choose. In my RPG, they are 0 / 360, 90, 180, 270.


The Problem:
Wehn the FPS are low, the player looks like he is shaking...


Do you know a better way???


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