Cruise Missle collision detection

Aug 13, 2014
Hey guys,

small bug I found.
The collision detection which checks if the cruise missle is allowed to start is odd.

Of course some pictures:

The overview of my test

(The cruise missle is at the hawkeye block furthest away)

Now (at it seems) the game checks in a straight line if there is a block which blocks the trajectory of the missle.

(Here you can see the line the game is checking if it's blocked by a block)

Like this the missle will start, but as soon as we do this:

The missle won't start as its collision detection returns that the trajectory is blocked.

If we now get back to the overview picture,

it's more than obvious that the collision detection shoudn't check in an infinite straight line if the path is blocked.