Increase edge detection distance

main
copygirl 1 year ago
parent 33b456eb24
commit b0fc98b841
  1. 2
      init.lua

@ -12,7 +12,7 @@ local registry = include("registry")
-- TODO: Add particles to preview rotation? -- TODO: Add particles to preview rotation?
-- Distance at which we want to rotate by "pushing" on an edge. -- 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 -- 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 -- done in `playerstep`, about the node this player might rotate. This is used

Loading…
Cancel
Save