How to change the physics property of a Physics asset during runtime in c++?

I would like to have a controlled simulation during the game and during certain conditions i need to set it back to the original values, like how the normal physics work.

how do i manipulate these variables during runtime from c++; not blueprint ?

Thank you

I got it done using

CurrentSkeltalMesh->SetLinearDamping(0.1f);
CurrentSkeltalMesh->SetAnguDamping(10.0f);

I wanted to know if there is any better method of doing it ?