when a node with paramtype2 = "facedir" is placed, it will face towards the placer.
how does it work? what are the factors facedir value depends on? what's the algorithm?
many thanks in advance
understanding facedir
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
understanding facedir
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~
Having A Buzy Week
From 0.4.10 with love~
Re: understanding facedir
facedir modulo 4 = axisdir
More at: https://github.com/minetest/minetest/bl ... i.txt#L403
See also: player:get_look_dir()
More at: https://github.com/minetest/minetest/bl ... i.txt#L403
See also: player:get_look_dir()
Who is online
Users browsing this forum: No registered users and 14 guests