Setting up Damage Types for the Foliage Plugin
If you haven’t setup the Foliage Plugin yet, follow this tutorial first.
If you haven’t setup the Foliage Plugin yet, follow this tutorial first.
If you haven’t setup the Foliage Plugin yet, follow this tutorial first.
Important here is that the IDs (marked in RED) are the SAME, it doesn’t matter if the Destructible Mesh is Empty (if you don’t have one for a different mesh)

(this is only required for interacting with the foliage instances)
You must make sure that the Mesh you paint (or spawn) is the same in the Foliage DataTable so that the Foliage Plugin knows what to do with it.
Example of adding resources to your inventory when a Foliage is damaged (harvested)
This example uses a line trace from the Players point of view to “Apply Point Damage”
Damage is handled by the Foliage Plugin and will convert your Foliage Instance to a useable / interactable foliage actor automatically.