Game Development Community

Roads

by Emerson Gresoski · in Artist Corner · 12/12/2006 (4:50 am) · 3 replies

Have some way to do Roads more easy in the CShop ?
I tried to do with boxes, but, the textures do not rotate with them.

#1
12/12/2006 (5:40 pm)
If your trying to do curved or hilly roads it's gonna be really tough. I suggest either simplifying your roads or going with a custom C++ system for road generation.
#2
12/12/2006 (7:14 pm)
Hey Tom,

I was also searching about Roads creation and i found a game called dRacer wich uses a track editor. Could you point me in a way to get something similar done in TGE? What objects should i use, etc.

Thanks
#3
12/12/2006 (7:36 pm)
The short of it is that it's a custom SceneObject for Torque that takes two spines and builds track geometry to along them. Start looking at how to make a custom SceneObject, how to define spines and interpolate along positions on those splines, and finally how to optimally generate triangles along those splines to make the surface. You'll also have to deal with collision detection and how to edit the track surface.

This isn't an easy endeavor, but it is achievable if you put your mind to it.