Movement clicks work through the UI
Opened this issue · 0 comments
smilewood commented
When clicking on anything in the menu or the HUD the movement raycasts still change the player's destination.
This may be a bigger hassle to fix then I thought, or have time for right now. It looks like we need a rework of much of the UI system to make it interact correctly with the raycasts being used for navigation and combat interaction, because the UI by default does not interact with normal raycasts.
This could be a useful starting point.
https://answers.unity.com/questions/1329457/button-not-blocking-the-raycast.html