Hi, i created a tower and want to controll it with the mouse/view of the player
function ENT:Think() if self.owner != nil then self.neckAng = LerpAngle( 100*FrameTime(), self.neckAng, self.owner:EyeAngles() ) self.neck:SetAngles(self.neckAng) end self:NextThink(0.02) end
but it looks like this
(ingame 300 fps)
any ideas how i can smooth it better?