From b0fc98b841bebceaaee3d8cbfbcad38333ea1a6f Mon Sep 17 00:00:00 2001 From: copygirl Date: Thu, 19 Oct 2023 10:00:30 +0200 Subject: [PATCH] Increase edge detection distance --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index cc2bdb1..97563aa 100755 --- a/init.lua +++ b/init.lua @@ -12,7 +12,7 @@ local registry = include("registry") -- TODO: Add particles to preview rotation? -- Distance at which we want to rotate by "pushing" on an edge. -local EDGE_DISTANCE = 1.5 / 16 -- texels (at 16² texture resolution) +local EDGE_DISTANCE = 2.5 / 16 -- texels (at 16² texture resolution) -- Contains a per-player state that holds information, created by a raycast -- done in `playerstep`, about the node this player might rotate. This is used