Set facedir in minetest.place_node function
I am beginner with minetest modding and i want to know if it is possible to set the node's facedir when using the minetest.place_node function, i am using this it to replace a node with another node
Example: if the player right-click on a dirt node it will be changed to a cobble stairs node, but the problem is that i want it to be in the direction of the player exactly if he placed it normaly with right-click.
is it possible to do this with the current minetest version or it needs an engine update (etc.....)?
Example: if the player right-click on a dirt node it will be changed to a cobble stairs node, but the problem is that i want it to be in the direction of the player exactly if he placed it normaly with right-click.
is it possible to do this with the current minetest version or it needs an engine update (etc.....)?