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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Moving along a curve.

Discussion in 'Editor & General Support' started by TebogoWesi, Dec 31, 2015.

  1. TebogoWesi

    TebogoWesi

    Joined:
    Aug 12, 2014
    Posts:
    159
    How do I go about moving an object along an infinite curve?...while pooling the curve its self? . . .kinda like how they do it in subway surfer. . .
     
  2. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,984
    Pretty sure that subway surfer is just a straight line (we'll probably the world moves and the character stays in the same place), and the curved look is a shader.
     
    Ryiah likes this.
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,141
    There's even an asset on the store that does just this.

    https://www.assetstore.unity3d.com/en/#!/content/26165
     
    MurDocINC and zombiegorilla like this.
  4. TebogoWesi

    TebogoWesi

    Joined:
    Aug 12, 2014
    Posts:
    159
    Ohhh! Thanks guys.
     
  5. Batman_831

    Batman_831

    Joined:
    Oct 17, 2014
    Posts:
    106
    Ryiah likes this.
  6. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,141
    Nice but that isn't a simple plug-in solution like Curved World. Any desire to have the effect work differently will require modifications but if you know how to make shaders you don't really need it aside from an easy starting point.

    The Curved World store page doesn't showcase the product very well in my opinion. Its readme gives a better idea.

    https://dl.dropboxusercontent.com/u/49615231/Asset Store/Curved World 2/ReadMe.pdf
     
    Last edited: Jan 1, 2016
    Batman_831 likes this.