#Teflon Bug When Placing It Near 0, 201, 0

1 messages · Page 1 of 1 (latest)

mortal idol
#

When placing Teflon near the center of the world (0, 201, 0) it offsets weird when just placing it in general. Particularly, when you place it in a negative x or z coordinate. As in the video, it also occurred when using this script.

local eye = vec3(get_eye_pos())
local dir = vec3(get_view_dir())
local legx, legy, legz = get_point()
for r = 1, cursor_max_range do
local target = eye + (dir * r)
-- Find Block
if get_block(target.x, target.y, target.z) ~= block.none then
local target = eye + (dir *( r-1))
x = target.x
y = target.y
z = target.z
break
end
end

set_block(x, y, z, block.teflon)```
#

I also believe that this is part of a larger coordinate issue. When using the same script above, but with block.goldblock, it places perfectly if you are in a positive x, y, and z coordinate. When you are at the corners that are not in the positive x and z, then it offsets the block.