Game Development Community

How can I find out what textures my vehicle is standing on?

by Martyn Weber · in Torque Game Engine · 02/19/2003 (4:58 am) · 2 replies

Does anyone know how to determine which textures are under a vehicle or player? I'd love to be able to do this in script, but am prepared to add additional c(++) if required.

There is something in the C structure I think for material, is this any use?

Thanks

Martyn

#1
02/19/2003 (12:23 pm)
I know this has been answered before by Ken 'CEDRIP' Finney (hope that's how you spell everything. He has his foliage/tree generator check to see what texture is on the ground, so he doesnt put a tree on sand, etc.

Search the forums I guess.
#2
02/19/2003 (12:33 pm)
There is a resource that probably has what you're looking for. I think its the one that Ken used as a starting point to make his resource.

Here it is: www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3403