Objects can be destroyed while not looking at them
NoLongerLucky opened this issue · 1 comments
NoLongerLucky commented
Describe the bug
Objects can take damage and be destroyed while the character isn't facing towards them.
To Reproduce
Steps to reproduce the behavior:
- Go to an object and make sure you are touching it
- Rotate your character to face in the opposite direction of the object
- Click to punch
- The object will take damage even though the fists are punching in the opposite direction
Expected behavior
The object should only take damage when the player is punching toward it.
Screenshots
The box was damage while the player is facing away from it.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: v0.1.0
Additional context
N/A
leia-uwu commented
Fixed :p