Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Constantly changing gravity like F-Zero or Kinetica

Discussion in 'Physics' started by Liggie, Sep 15, 2017.

  1. Liggie

    Liggie

    Joined:
    Sep 13, 2017
    Posts:
    2
    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)
     
  2. Plystire

    Plystire

    Joined:
    Oct 30, 2016
    Posts:
    142
    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.
     
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    There are several threads on this subject already.
     
  4. Liggie

    Liggie

    Joined:
    Sep 13, 2017
    Posts:
    2
    LOL thank you I was searching gravity and the results where nothing like that! I didn't think about searching physics.