Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

how to design a game like Tail Drift

Discussion in 'Scripting' started by jevin05, Jul 7, 2014.

  1. jevin05

    jevin05

    Joined:
    Apr 7, 2013
    Posts:
    5
    The name "flick Drift" (Tail Drift) game, which is a racing game designed and manufactured by the newly formed creative team Attract Mode Games, is coming to mobile platforms last month. There are 3 problems around me and hope someone could offer answers.

    1)The plane in this game can fly along the track perfectly by using Flash Platform Technology, but how to design flight path as plane can follow the orbit strictly?( Especially the height of the track is Often Spiky that increase more difficulty to achieve that operating.)

    2)I wonder if the plane is moving around mesh, if it really does, and how?

    3)And about the Suspension function, how to make that plane fly around the post?




    Thanks in ahead.
     
  2. bigmisterb

    bigmisterb

    Joined:
    Nov 6, 2010
    Posts:
    4,221
    1) The plane moves in space and is given a down direction to the nearest track point. (probably hundreds of them)

    2) it moves around the mesh yes, but uses Raycast to that mesh to figure the "ride height"

    3) suspension probably only kicks in when it is below a certain point. Look at spring dampening for that.

    --) If you fly the plane in circles, you can swap tracks. So they are not using any specific percentage based system on the biezier lines of the track. They probably get the forward direction based on current point and next points of the track.
     
  3. jevin05

    jevin05

    Joined:
    Apr 7, 2013
    Posts:
    5
    Thank you very much !

    I make this game by megashape, that's amazing! but i don't know how to use camera follow gameobject
     
    Last edited: Jul 22, 2014