Game Development Community

Read terrain texture

by Vilain Design · in Torque Game Engine · 10/28/2005 (1:47 pm) · 2 replies

Hello,

I am using the WheeledVehicule object and I am trying to detect the material/texture that the wheel is touching on the terrain. I can see that in the updateWheelParticles function, it is trying to do similar detection to change the color of the dust particules emitted by the wheels. It doesn't seem to be implemented. In fact, I want to know if I am on the grass, dirt or gravel/rock.

Can anyone point me to the location of where I can get this information in the engin? That would really help me out.

Thanks.

#1
10/28/2005 (2:10 pm)
Francois: since you're asking about source code, you probably want to take this to the private forums.
#2
10/28/2005 (2:28 pm)
Sure, my mistake...