I am creating a 3x3x1 or 1x3x3 Hammer and I found some problems at a point that Negative numbers don't work, or am I doing wrong?
I will explain what I am doing in the Procedure image(Image 1), I made a:
If Get Entity direction which is {More than} > -75 AND Get Entity direction which is {Less than} < 75
and after it checks blocks Hardness and break blocks but this is another thing...
I also made lot of tests and found out that the Number we put in the procedure(the -75, 75) are these numbers in (Image 2) and I right?
After I used these numbers because These numbers are pointing the direction I want but It work Well between 0 and 75 but it don't work between -75 and 0
As I said, I don't know if it's normal or not so I put it Support Request
Issue comments
I have made the following procedure:
The procedure prints values between 0 and 360 degrees when the player rotates. This is why negative values don't work for you. I suggest you to make this procedure to get the feel on what values are being outputted by the entity direction block.
Ok, I tried using it with the 360 degree with the Help of your procedure and it worked :D but still a problem... How do I do if I want it a number between > -75 and 75 < which is in direction > 285 and 75 <, I don't know how to make this without taking all degree (215)
If you check if the direction is larger than 75 and check if the direction is less than 75, this will be false in all cases. If you want to check if the direction is between A and B, you need to check dir > A and dir < B
And yes, this is the direction you underlined in the debug menu.