Hi guys! I've been given a chance to look at the advanced beta test of Digger Pro for unity 2019.3 which gives you the ability to add caves and overhands (basically dig or sculpt) the terrain, and uses the new unity terrain features to make the collision system update automatically.
So of course my main focus was getting it integrated with invector! :D It is in fact not necessary to do anything to integrate it with Invector's controller, any terrain sculpting you do automatically works, you no longer have to worry about colliders when trying to enter your caves. But you want your character to be able to alter the terrain during runtime? Well that's where some handy script integrations can come into play!
I've made a basic script to allow you to damage terrain (ie scoop out a piece) and you can connect it directly to Invector's ammunition prefabs.
In the first video you see me making some large holes in the terrain using the m4 rifle, which doesn't make MUCH sense but it's a test...
in the next clip I've rejigged the script to allow you to control the size of the damage, the shape of it, and even the texture it uses underneath.
In the future I will look at adding a feature to create a modifiable database of terrain textures, so the grenade will auto detect what texture it touches and look to the database you made to figure out which texture to use.
I have the first script ready, but I'm using 2019.3 alpha as well as an unreleased copy of digger pro, so I won't share the script until they release a proper 2019.3 and the digger pro upgrade, but this hopefully shows you something cool you might want to add to your game