6d Facedir
New facedir gives you ability to rotate nodes in every direction.
If you want to check how it works please compile game from sources:
https://github.com/RealBadAngel/minetest
Note: By now rotating regular nodes is done (chests, furnaces etc)
Updated: new screwdriver in tools, more handy.
Added nodebox rotations to git.
(still need to work on nodeboxes bug)
Screwdriver mod to rotate nodes:
http://realbadangel.pl/facedirtools.zip
Facedir now has a different meanin:
Its value now defines direction in which top face of node is pointing and rotation over this direction.
Values = 0 to 23
facedir / 4 gives you direction:
0 -> y+
1 -> z+
2 -> z-
3 -> x+
4 -> x-
5 -> y-
facedir modulo 4 is the rotation
Old facedir is just one case of new one: y+ , so any old code will still work with new facedir.
Comments and suggestion are welcome.
If you want to check how it works please compile game from sources:
https://github.com/RealBadAngel/minetest
Note: By now rotating regular nodes is done (chests, furnaces etc)
Updated: new screwdriver in tools, more handy.
Added nodebox rotations to git.
(still need to work on nodeboxes bug)
Screwdriver mod to rotate nodes:
http://realbadangel.pl/facedirtools.zip
Facedir now has a different meanin:
Its value now defines direction in which top face of node is pointing and rotation over this direction.
Values = 0 to 23
facedir / 4 gives you direction:
0 -> y+
1 -> z+
2 -> z-
3 -> x+
4 -> x-
5 -> y-
facedir modulo 4 is the rotation
Old facedir is just one case of new one: y+ , so any old code will still work with new facedir.
Comments and suggestion are welcome.






