75place
0 votes Vote

Custom algorithms for tile generation trigger

Hi,

it would be great if you could add the possibility to plug in custom algorithms for trigger the generation and removal of tiles. E.g. by implementing / extending a specific interface containing methods for triggerGenerate/triggerRemoval/triggerEnable and plugging that into "Infinite Terrain" section.

My use case: I'm implementing some kind of off-road race game, where select a (real-world) route for the race and then drive along that route. Knowing the path in advance (and given the driving speed) I can calculate (minutes in advance) which tiles need to be created.

Hauke Hildebrandt , 15.09.2020, 09:49
Idea status: under consideration

Comments

Wraith, 16.09.2020, 21:12
You can any object with tag as a generate marker instead of the camera. Or along with the camera. You can assign tag in Infinite Terrain (playmode) rollout. Just let this object fly ahead of the most probably trail path, generate tiles around it. Do not disable main camera as a marker to avoid disappearing tiles.

Leave a comment