Search Unity

SpaceShip flying [Script]

Discussion in 'Scripting' started by Broken_Arrow_Games, Apr 17, 2013.

  1. Broken_Arrow_Games

    Broken_Arrow_Games

    Joined:
    Dec 25, 2012
    Posts:
    7
    Hello. I build a game Space Journey, and i have a question. How to make a spaceship flying? Please, answer me!
     
  2. ardo314

    ardo314

    Joined:
    Jul 7, 2012
    Posts:
    345
  3. MyCatFishSteve

    MyCatFishSteve

    Joined:
    Jan 13, 2013
    Posts:
    55
    Dude, he's obviously a noob to this. I doubt the documentations will help.
     
  4. MyCatFishSteve

    MyCatFishSteve

    Joined:
    Jan 13, 2013
    Posts:
    55
    Look on youtube, thats where I learn to do my coding, well most of it. Also I recommend using Javascript because I personally find it easier to use. You cant go to the forums and straight up ask how to do an entire code. You need to learn how to do things because when we give you the code. You will not know what to do with it
     
  5. OrbitusII

    OrbitusII

    Joined:
    Jul 4, 2011
    Posts:
    175
    These are indeed what you want. However, depending on the physics you want in the game, rigidbody.AddRelativeForce will work better than transform.Translate, or the other way.

    (Please correct my capitalization, it's been a while since I used those :))