How can I disable parent character class's "enable gravity"?

I have a custom c++ character class, and then a BP class extension of that custom class. In code how can I disable the c++ custom class (which extends from character) “enable gravity”? So in code how do I access the parent class’s properties and alter them?


It’s enabled by default in the character class, so I need to disable it for mine.

I have simulate physics and enable gravity set to false on my BP extension of my custom character class. The character is still falling. I suspect that the parent character class has gravity enabled by default - so how would one go about disabling that through code? I can’t do it through BP because my BP class is an extension of the custom C++ character extension.