RabbleGS
(RabbleGS)
March 6, 2020, 1:44am
3280
Thanks I’ve got a few other projects now that I’m working on in parallel, but I always come back to ATBTT. I feel it is more or less feature complete at this point, but there is always more stuff that can be added in the form of utility functions, gameplay examples etc.
Ok, thanks for the explanation. This should indeed be a good fit for the new function. I finished it today. It will be included in the next update (which I’ll likely release along with UE4.25), but you can have it now.
Here is the main function (pastebin link )
https://i.imgur.com/4Xgrll6.png
First nested function (pastebin ):
https://i.imgur.com/Az9Yy7e.png
Second nested function (pastebin )
https://i.imgur.com/TCY9YXe.png
The UpdateTilesInRange function works by getting grid indexes in range of a source index and adding them to GridLocations and GridEdges in much the same way as happens for the entire grid during startup. As mentioned, the edges entering into a tile is generally stored in the adjacent tiles, so you need this function to cover a tile area of one tile more in each direction than the GridIndexes you are adding to the grid.
If you have not done so already I recommend seeing this video to understand how the toolkit indexes tiles. Let me know if you run into any difficulties.
We have not been able to get this working on our end yet. I saw that the 4.25 preview is available. Have you had the chance to get it working in 4.25 yet? I know you said you would not update the toolkit until unreal went to 4.25.