How do I get the right static mesh type?

This has reached absurd levels of confusion for me. I’m trying to go from a hit result to setting a variable with a “static mesh object” type. But there are so many different types of static mesh objects and none of them that I cast to seem to be the right one. I included a picture and you can see there’s also the same problem with setting the skeletal mesh variable.

I’d cast to the actor type and get the mesh from that but the thing is I’d like to be able to get the mesh of any actor. Please help. There must be a way to cast to the right type somehow… right?


I never would’ve guessed, but I got it… I think. I’ll test to be sure.

Nope, that cast always fails in practice. :frowning:

Okay, this works finally.