How to remove Soft Red from unreachable areas?

Hey I just finished this lesson where we learn how to not display move grids which one cannot move to, how would I go about doing the same for the soft red shoot action, where the soft red show every in the shoot range, meaning it can go behind walls?

Great Course so far learning so much, lot of love :slight_smile:

Just continue with the course. I believe there are lectures later where obstacles are detected and taken into account. Or maybe I just remember the countless posts here talking about it. If the lecture doesnโ€™t come, just do a bit of a search here and you should find some solutions

The current course design does not actually cover obstacles for shooting, though there are a few things you can do such as raycasting between the position and the shooter and seeing if you hit a wall.

Privacy & Terms