So, I am attempting to make a tornado wind-field script, and am struggling with trying to get the angles to slowly turn into the main circulation.
For some reason however, there is a random line at the top that points in the complete opposite direciton.
I have searched as much as I could trying to find a solution. I could not get close to fixing this issue either.
I have spent probably like 6 or 7 hours straight trying to fix this, so I would appreciate if I could at least get a solution.
Section of code
local x,y,z = CFrame.lookAt(v.Position,Part.Position).Rotation:ToOrientation()
local StartY = script.DefaultWindDirection.Value
local TargetY = math.deg(y)
Rotation = StartY+(TargetY-StartY)*math.clamp(winds/100,0,1)
-- v is the tornado position, Part is what ever position, and DefaultWindDirection is pretty straightforward