Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | BennieBe |
Hi,
I am wondering how I can return all cells that are in my tilemap that are on the trajectory of two vectors in 2D space. I am using the distance_to function to get the distance between two vectors but what I am missing is how to receive all cells in between this way. Is it possible to retrieve those cells somehow through a function or any other way?
Thanks in advance!