It is possible but not very easy. There is a call to make object rotating around global Y-axis very easily. However, rotating around other axes is more problematic and less practical.

Here's a code for X-Axis rotation:

Code

Init Section:
// -------------------------------

MyGlobalAngle(0.0);
TimerLaunch("Rotate", 33);


KB Section:
// -------------------------------

PROC IncrementAngle()
AND MyGlobalAngle(_angle)
AND RealSum(_angle, 0.017, _new_angle)
THEN 
NOT MyGlobalAngle(_angle);
MyGlobalAngle(_new_angle);


IF TimerFinished("Rotate")
AND ItemGetHandle(ITEM_HUS_TEST_2, _Handle)
AND ItemGetPosition(ITEM_HUS_TEST_2, _x, _y, _z)
AND MyGlobalAngle(_angle)
THEN
TimerLaunch("Rotate", 33);
ItemHandleToTransform(_Handle, _x, _y, _z, 0.0, 0.0, _angle, 1, CHARACTER_Player1);
IncrementAngle();

Last edited by BioSpirit; 15/08/14 09:27 PM.