//revolve: try :round() instead of :floor()

not sure if ti helps or not tho
This commit is contained in:
Starbeamrainbowlabs 2023-02-12 03:32:10 +00:00
parent 1d53233621
commit 558fc1c04b
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -58,7 +58,7 @@ function worldeditadditions.revolve(pos1, pos2, origin, times)
-- rotate on Z axis only, convert 0..1 → radians
-- TEST on Y axis, 'cause I'm confused
Vector3.new(0, rotation * math.pi * 2, 0)
):floor()
):round()
local i_target = area_target:index(pos_target.x, pos_target.y, pos_target.z)