Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How To Create Turns In A Track?

Discussion in 'Getting Started' started by trevorbirdsall16, Apr 12, 2019.

  1. trevorbirdsall16

    trevorbirdsall16

    Joined:
    Apr 3, 2019
    Posts:
    4
    I am trying to build a racing game in Unity and Im using a cube whose been transformed into something that will be used as a track, how do I bend it to make turns?
     

    Attached Files:

  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    You probably don't want to use primitive shapes for anything much more than testing and prototyping.

    Unity now comes with ProBuilder, which you can use to create more complex geometry. You could alternatively create the levels in an external editor (like Blender, which is free), and import the models that way.

    There are also assets on the store that let you create curved roads fairly easily.
     
    Joe-Censored likes this.
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    The approaches I've seen:

    1) Create the race track using a 3D modeling program and import the model into Unity
    2) Purchase a road asset of various interlocking road pieces, and assemble the track from segments like building something using Legos
    3) Form the race track directly into the terrain and use a texture to paint the track portion
    4) Buy a complete, ready made track asset (originally created generally using method #1)

    3D modeling generally produces the best results.
     
  4. CyberInteractiveLLC

    CyberInteractiveLLC

    Joined:
    May 23, 2017
    Posts:
    306
    2 Assets I'm using currently to create racing tracks

    -SplineMesh
    -Path Creator

    Both are free & Great... try them
     
  5. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    2,074
    What software are you using, to create that track?