Re: Memory leaks with MOSRotatings
hmm no quite sure about that, here is my script for a UI element I use a MOSParticle instead.
Code:
if MovableMan:ValidMO(self.ui) then
self.ui.Pos = Vector(self.Pos.X, self.Pos.Y - 26);
self.ui:NotResting();
self.ui.Age = 0;
self.ui.ToSettle = false;
else
self.ui = CreateMOSParticle("UI element");
self.ui.Pos = Vector(self.Pos.X, self.Pos.Y - 26);
MovableMan:AddParticle(self.ui);
end