4.13 - Splinemesh ignores Phys Material Override

As stated, create a splinemesh, give it a Phys Material Override, and the splinemesh ignores it completely.

Hi Juice-Tin,

I attempted to reproduce this behavior but the physical material is registering for me. Here is what I did.

  • Created a line trace from the character that prints any physical material it finds
  • Set PhysicalMaterial Override on the Splinemesh on EventBeginPlay
  • On hit, the correct physical material that was set is found

If you are seeing something different or if I tested this incorrectly, please include repro steps and screenshots for me to follow.

Hi TJ,

I created a test project and did the same, except the Phys material is added through the details panel’s collision category. Both splinemesh and static mesh ignore it completely this way, and it only works when added through a material.

I’ve added the test project so you can check out for yourself. Inside the rar are some extra notes.
http://www.sky9games.com/StaticMeshTest.rar

Hello,

After further investigation, this is working as intended. The reason you are seeing the Default Physical Material being returned is because you are using Trace Complex on your line trace, which only looks for complex collision. If you look at the tooltip for Physical Material Override, you’ll notice that it uses the override only for simple collision. If you disable Trace Complex on your line trace node, you’ll get the desired return, which in your case is the Test physical material.

Hope that helps

Ahhhh. I recently noticed it was for simple collision only, but I never would have thought it also affected simple/complex traces. Thanks for the explanation!