MATH!!!!!!!!!!!!!!

This commit is contained in:
PossiblyAxolotl 2022-07-07 16:08:00 -06:00
parent 1915981938
commit 4475ddfb54

View file

@ -149,7 +149,7 @@ function updateSaws()
local arc = s.arcs[len] local arc = s.arcs[len]
for arm = 1, s.arms, 1 do for arm = 1, s.arms, 1 do
local sawPos = arc:pointOnArc(360 / s.arms * arm + (s.time * len)) local sawPos = arc:pointOnArc((arc:length()-360) / s.arms * arm + (s.time * len))
s.saws[len + ((arm-1)*s.arms)]:moveTo(sawPos.x,sawPos.y) s.saws[len + ((arm-1)*s.arms)]:moveTo(sawPos.x,sawPos.y)
end end