My guess is that you cast a ray in all directions with the explosion center as origin and check any walls in the path, however i'm not sure
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Curtailed explosion
2 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
My guess is that you cast a ray in all directions with the explosion center as origin and check any walls in the path, however i'm not sure
![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
And it really shoots rays just from center to center? Isn't that quite imprecise? Yes it does and yes it is - but it's good enough. That's because targets are mostly smaller than walls and when a ray doesn't hit it means - in most cases - that like 50%+ of the target are covered behind a wall or something.
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)