Is it possible to, for example, have a shovel tool that when activated removes a block of dirt terrain at the point of the cursor? And to only do it for dirt and grass terrain?
Yes this is verry posible.
All you need is the terrain:Fillblock() function
It takes 3 paramiters
Position
Size
Material
For your example you would set the position of the function to the mouse.hit.position. the second paramiter is how wide it needs to be in the format of a vector3. And the third would be wnum.Material.Air
Hope this helps ![]()
3 Likes
is there a parameter for the shape of the removed part? pretty sure that there was a square and a ball brush
Many ‘Fill’ methods for various shapes can be found here.
That’s really interesting, thanks a lot
What do voxelchannels do though?
Hi,
there are free shovel tools in the tool box that dig terrain…
Regards
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.