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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

move object over time with set position

Discussion in 'Scripting' started by simone_fratoni, Jan 17, 2020.

  1. simone_fratoni

    simone_fratoni

    Joined:
    Jan 17, 2020
    Posts:
    13
    hi, i want to move object over time to set position.
    ex: i have 5 point with this position (0,0,0) (1,0,0) (2,0,0)(3,0,0)(4,0,0) i want that my object like a cube move from point 1 to 2 to 3 to 4 to 5 and time between two point is 0.5 second. thanks a lot
     
  2. PaulR

    PaulR

    Joined:
    Nov 14, 2012
    Posts:
    43
    simone_fratoni likes this.
  3. simone_fratoni

    simone_fratoni

    Joined:
    Jan 17, 2020
    Posts:
    13
    thanks for reply but it's working with only two point? How to set 6 point?