08.08.2010, 21:22
Quote:
No no,you got me wrong,the RotateObject function is absolutely fine,it's in one of the includes I use,the problem is in the specific combination of RotateObject and gInfo[gateid][dif],for example if I'd take the number 3 and position it instead of gInfo[gateid][dif],everything would be fine,but I really need the subtracted result for the rotation to be smooth.
|
pawn Код:
RotateObject(gInfo[gid][gObj],gInfo[gid][oldRX],gInfo[gid][oldRY],gInfo[gid][oldRZ],floatround(gInfo[gid][dif]),gInfo[gid][rSpeed]);