Can I get the face of a punched node?
I want to know, which face of a node is punched. Or, even better, the position on the face. Is that possible?
FOSS gamedev and creative worlds
https://forums.minetest.org/
local u, a = pt.under, pt.above
if u.x<a.x then -- Clicked on +X (i.e. east or right face)
elseif u.x>a.x then -- Clicked on -X (i.e. west or left face)
-- and so on for (+/-)(Y/Z)