MultiCraft_game
MultiCraft_game copied to clipboard
Buttons not placing correctly
How to produce: Have a button in hand. Point side face of the block from 10-30 degrees angle. Click to place the button.
Excepted result: Button is placed to the pointed face.
Achieved result: Button is placed in the same area facing the player. That means that button may float in air or go to block not pointed.
Solution: Currently you set orientation of the button based on player orientation. However you should set the orientation based on the pointed face orientation.