[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?