Odenir
(Odenir)
December 17, 2020, 12:25am
1
“On Component Begin Overlap > Sweep Result > Phys Mat”, it works fine.
“On Component Hit > Hit > Phys Mat”, it returns DefaultPhysicalMaterial when it hits my own static meshes (that’s the problem), but works fine on the landscape and also works fine if get an engine Cube (Basic, you know, that list that shows Player Start, Point Light, Geometry, Volume, All Classes, etc.).
It looks like a bug, but I’m not sure.
Unreal Engine 4.23.1
collision -> physical material result ticked on?
Odenir
(Odenir)
December 17, 2020, 1:42am
3
Where is “physical material result”? I can’t find it on collision.
“Return Material on move” is on.
“Return Material on move” is the right one. This turned on for both components/actors should do it.
e.g. capsule component & other object getting hit.
Odenir
(Odenir)
December 17, 2020, 1:35pm
5
That’s the problem. It works for “On Component Begin Overlap” but doesn’t for “On Component Hit”.
“On Component Begin Overlap” returns the right material.
“On Component Hit” returns DefaultPhysicalMaterial.
Odenir:
That’s the problem. It works for “On Component Begin Overlap” but doesn’t for “On Component Hit”.
“On Component Begin Overlap” returns the right material.
“On Component Hit” returns DefaultPhysicalMaterial.
Is “Simulation Generates Hit Events” ticked on the component? It has to be for component hit to trigger.
Odenir
(Odenir)
December 19, 2020, 12:10pm
7
Yes, “Simulation Generates Hit Events” is ticked on the component.