SetAimAngle Question - Solved
Sorry, but I've got a question here.
I apologize in advance if it's just a stupid syntax mistake.
This script is running on a ahuman.
Code:
function Create(self)
self.XVARIABLE = 0;
end
function Update(self)
self:SetAimAngle(self.XVARIABLE);
self.XVARIABLE = self.XVARIABLE + 0.1;
end
Shouldn't this cause the actor's aim angle to continuously swing in a circle?
However, all I get is an actor locked aiming straight up.
Any ideas?