Camera problem.
#1

There is a new function in 0.3e: InterpolateCameraPos,and I want to use the moving camera in my server, but I have 2 problems.
The first one is,when I click to choose another skin the camera moves again from starting position to class selection position(that's not very cool :S).
And the second problem is that skins are not visible.
Код:
public OnPlayerRequestClass(playerid, classid)
{
   	SetPlayerPos(playerid, 330.0273,1307.4177,59.0736);
	SetPlayerFacingAngle(playerid, 358.2263);
        InterpolateCameraPos(playerid, -385.947540, 1386.031005, 44.999927, -332.731658, 1311.356323, 59.700035, 5000);
        InterpolateCameraLookAt(playerid, -383.063262, 1381.969848, 45.433204, -330.227203, 1307.135375, 58.745227, 2000);
	return 1;
}
Reply


Messages In This Thread
Camera problem. - by x96664 - 19.05.2012, 12:34
Re: Camera problem. - by MP2 - 19.05.2012, 12:47
Re: Camera problem. - by x96664 - 19.05.2012, 13:06
Re: Camera problem. - by MP2 - 19.05.2012, 13:12
Re: Camera problem. - by x96664 - 19.05.2012, 13:23

Forum Jump:


Users browsing this thread: 2 Guest(s)