How to get the PhysMaterial of a Foliage Type

I’m using a Procedural Foliage Spawner to spawn trees.

I have assigned a PhysMaterial to the Foliage Type definition.

However, when I run a line trace against objects and find an instance of this tree, the PhysMaterial that comes back from the collision is the DefaultPhysicalMaterial.

What am I doing wrong? Or has this never worked?

Hi, that override is for the simple collision, for complex collision you need to set the physical material inside the materials of the tree.

Thanks! I actually are using these meshes for other things too where I want a different physical material, so I need to think of something else. Currently consider a lookup map from “foliage mesh object” to “material to use.”