Game Development Community

How can I get terrain vertice info?

by Jeff Trier · in Torque Game Engine · 01/02/2004 (10:41 am) · 2 replies

Is there a way to return the locations and ID numbers of the vertices that make up the terrain via script? Basically I want to use them for waypoints and a few other things.

Thanks all!
-Jeff

About the author

Originally a Classical/Metal musician, I've always been attracted to anything involving computers, including: Networking, PC Building and Repair, software design and coding. I've been involved with game design and development for over 10 years.


#1
01/02/2004 (2:56 pm)
Since the terrain is done with CLOD, getting vertices is kinda hairy, you might have good luck with the stuff in terrain/terrdata.h though...
#2
01/02/2004 (8:36 pm)
Ooof!

Thanks for the lead. :)
-Jeff