Please do not use rotateObject directly. That will cause funny effects when being in knockdown or paralyzed or other states where the actor is not supposed to move. Instead, use the movement settings. 
(Other AI packages currently suffer from this problem too, which is why I added todo comments there)