I have a few turrets and some enemies just with health and the walk in a circle.
http://pasteboard.co/LnHZqB1OU.gif
As one can see from the gif , when one turret is in the scene it is turning smoothly.
But when multiple ones are spawned, they only update once in a while.
The line uses Point() and looks like this :
if self.target then
self.entity:Point(self.target.entity,2,Time:GetSpeed()*0.1)
end
How can i fix / optimize this ?
The gif is (only) 6 mb but it takes long to load, sorry for this.