Constantly changing gravity like F-Zero or Kinetica

This is probably a very newbie question but I was wanting to make a racing game with no real set gravity but rather you follow the tracks like F-zero or Kinetica. is there an easy way to do this?

P.S. I have only been using Unity / coding for a bit (still going through the default tutorials)

This is a much deeper question than I think you realize.

I suggest googling for questions that others have already posed on the topic. It’s definitely not a trivial exercise, especially for someone new to game development. I too wanted to make an F-Zero game back when I was learning game dev.

To get you started in the right direction, I suggest you learn about Splines and Bezier Curves.

There are several threads on this subject already.

LOL thank you I was searching gravity and the results where nothing like that! I didn’t think about searching physics.