13.10.2011, 06:15
Pretty pointless using the trigonometrical functions, I mean you can do it another way:
Should spin nice since you've got a 20 ms timer, though isn't necessary, 50 - 75 is good enough..
pawn Код:
GetObjectRot(PoolBall[i][bObject], rx, ry, rz);
rx -= 0.3;
ry += 0.3;
SetObjectRot(PoolBall[i][bObject], rx, ry, rz);