Artificial gravity problem.

Hello ! I am trying to make an artificial gravity to make my car stick to sideways and upside down roads.

The current logic for my blueprint is currently (in reference to visual support provided down):

If Space is pressed, check if gravity for the vehicle mesh is on, if it is, disable it, if it’s not, enable it.

There’s also an OnTick event that does the following: If gravity is off, set physics linear velocity of -9.8 on the z axis, add to current.

But the problem is the following: The gravity is not pointed to the mesh’s z axis but to the world’s.

Is there any way I can fix that ?

P.S. It is my first blueprint, I have never done any prog before.