Hi,
Raycasting is really to find out what's in front of you, not necessarly to get an overview of what's around you, that would be really cumbersome is not efficient.
If you have less then a dozen of potential slots to check, a loop is totally fine especially since it's a discrete computation, you would not do that within the game loop.
also, you can turn it on its head, and have the empty slot finding out its distance with the target, and fill up a list, then you don't need to centralize it and you end up with a more object oriented design which is preferable.
Bye,
Jean
Bye,
Jean