Obtaining Terrain Data :(
by Westy · in Torque Game Engine · 05/25/2004 (7:41 am) · 3 replies
I am totally lost on how to retrieve the terrains vertices (3 at a time for each face.
I know this is done in a getFeatures() function. However this needs to be passed a ConvexFeature whih is never used anywhere in the engine.
So any tips on how to retrieve this data?
I know it can be done as Beffy must have done it for his AI pathfinding to build the nav mesh.
I know this is done in a getFeatures() function. However this needs to be passed a ConvexFeature whih is never used anywhere in the engine.
So any tips on how to retrieve this data?
I know it can be done as Beffy must have done it for his AI pathfinding to build the nav mesh.
About the author
#2
05/25/2004 (7:51 am)
I need to retrieve the data for the Newton function void NewtonTreeCollisionAddFace(const NewtonCollision* treeCollision,int vertexCount, const float* vertexPtr, int strideInBytes,int faceAttribute);
#3
Here www.garagegames.com/mg/forums/result.thread.php?qt=14416
if someone stumbles along this post.
05/25/2004 (7:57 am)
Ben, seems you have already posted this code..heheHere www.garagegames.com/mg/forums/result.thread.php?qt=14416
if someone stumbles along this post.
Associate Kyle Carter
ConvexFeature is a root class; we only ever use subclasses of it.