while direction.Magnitude > magnitude do
local angle = math.clamp(cframe.LookVector:Angle(direction, Vector3.yAxis), -turnPerStep, turnPerStep)
cframe *= CFrame.fromAxisAngle(Vector3.yAxis, angle)
cframe += cframe.LookVector * self.SubStepStuds
table.insert(self.CFrames, cframe)
if #self.CFrames % self.SubSteps == 0 then table.insert(self.Waypoints, shared.Waypoint.new(#self.Waypoints + 1)) end
direction = targetPosition - cframe.Position
end
#Why do path parts that are close together give me this error?
1 messages · Page 1 of 1 (latest)
specifically this part
I've just finished suphi's td tutorial and i just stumbled upon this
nevermind fixe.d.
How did u fix
The solution is in an older post