class TestScript extends Actor Placeable;
var() float deltaAngle;
function Tick(float deltaTime)
{
local Vector newLoc;
super.Tick(deltaTime);
newLoc = Location;
newLoc.X = Cos(deltaAngle) * Location.X - Sin(deltaAngle) * Location.Y;
newLoc.Y = Sin(deltaAngle) * Location.X + Cos(deltaAngle) * Location.Y;
SetLocation(newLoc);
}
DefaultProperties
{
Begin Object Class=StaticMeshComponent Name=RotatingSprite
RotatingSprite = StaticMesh'GenericGrounds2.SM.fern'
HiddenGame = false
End Object
Components.Add(RotatingSprite)
}