NPC rotation support added