How To Create Turns In A Track?

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?

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.

1 Like

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.

2 Assets I’m using currently to create racing tracks

-SplineMesh
-Path Creator

Both are free & Great… try them

What software are you using, to create that track?