Can’t seem to get a material name from a line trace hit on a skeletal mesh. I only can on a static mesh.
Goal: To highlight a material that a mouse is over.
I’ve defined materials on the mesh in a 3d modeling suite.
I can access materials from the line trace like in the pic.
However, line traces are only working with static meshes, not skeletal meshes. Is there a setting?
Things I’ve tried:
Setting trace complex on line trace (necessary to get material).
Creating physics asset for skeletal mesh.
Changing the collision settings on the skeletal mesh.
After creating a physics asset, the line trace is stopped by the mesh, but no material name is shown. However, material names are shown on static meshes.