How to get relative rotation in C++? (UStaticMesh)

I want to get the relative rotation in C++ the same as in the BluePrint.

2

However I have tried a lot of things and nothing works.

1

I searched among the members of the UStaticMesh class, in Google and in the forum… and I have not found the way to do it.

Does anyone know how to do it?

Thank you very much!!

Hi Ivan3z,

Try with a UStaticMeshComponent rather than a UStaticMesh - only the component has the transform…

1 Like

Great!! It works!! Thank you so much!! :heart:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.