I cant pass my world settings gravity floats to the PhysX scene

[Youtube example][1]

I have added X and Y floats for in the same place as the Z float in the world settings class.

I have copied the path that the Z float makes towards the PScene->setGravity function.

I can see that just before the FPhysScene_PhysX::SetUpForFrame function is called that the FVector has the correct X and Y floats.

But inside the FPhysScene_PhysX::SetUpForFrame function, something breaks down so that only the original Z value is passed.

I know this can work because I can just make an FVector in the FPhysScene_PhysX::SetUpForFrame function
[Youtube example][5]

Can someone tell me what I am not thinking of?

It turns out that VS was only searching the open files for the setupForFrame function.

There was another call that seems to be called every frame inside of the PhysLevel.cpp class.