Game Development Community

How To] Material property from DTS Object

by Viren Thambidorai · in Torque Game Engine Advanced · 12/23/2008 (3:27 am) · 0 replies

How to get material property like color from DTS Terrain object.
{Yes, Its DTS object}

I need my vehicle to stop/slow if it goes off specified path.
so how to identify the path color?

Path is black, and rest of the area is white in color.

I am using TGEA 1.03.

Any idea how to do that.

Thanks