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

Transform.Direction question.

Discussion in 'Editor & General Support' started by lukeplaysshuff, Dec 5, 2016.

  1. lukeplaysshuff

    lukeplaysshuff

    Joined:
    Nov 29, 2016
    Posts:
    7
    what kind of direction variables are used with transform.direction? I know of transform.forward but I don't know the other directions that I could have an object translate to.
     
  2. C_Occlusion

    C_Occlusion

    Joined:
    Jun 4, 2012
    Posts:
    44
  3. lukeplaysshuff

    lukeplaysshuff

    Joined:
    Nov 29, 2016
    Posts:
    7
    Thank you! :D
     
  4. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,324
    //nitpicking:
    They are not variables. They're properties.
     
    Kiwasi likes this.
  5. lukeplaysshuff

    lukeplaysshuff

    Joined:
    Nov 29, 2016
    Posts:
    7
    The more you know.
     
  6. lukeplaysshuff

    lukeplaysshuff

    Joined:
    Nov 29, 2016
    Posts:
    7