VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
navGenerationFunctions.h File Reference

Go to the source code of this file.

Functions

bool edgeFromIntersectionNormal (const DtRwDynamicTerrainInformation &dynTerrInfo, DtNavDataGenerator *navGenerator, int sectorX, int sectorY, unsigned edgeTag, std::list< DtNavDataGenerator::NavEdgePoints > *edges, DtNavDataGenerator::SectorGenerationThreadInfo *threadInfo, void *usr)
 
bool edgeFromPathFeature (const MAKVRinTerra::DtFeature &feature, DtNavDataGenerator *navGenerator, int sectorX, int sectorY, unsigned edgeTag, std::list< DtNavDataGenerator::NavEdgePoints > *edges, DtNavDataGenerator::SectorGenerationThreadInfo *threadInfo, void *usr)
 

Function Documentation

bool edgeFromIntersectionNormal ( const DtRwDynamicTerrainInformation dynTerrInfo,
DtNavDataGenerator navGenerator,
int  sectorX,
int  sectorY,
unsigned  edgeTag,
std::list< DtNavDataGenerator::NavEdgePoints > *  edges,
DtNavDataGenerator::SectorGenerationThreadInfo threadInfo,
void *  usr 
)

Function to generate a nav edge from dynamic terrain features. Tries to find a terrain intersection at the location of the dynamic terrain feature, then gets its normal. Designed for use with doors, in which case this should return the direction through which an entity can pass through the door. Returns false if no valid points could be found.

bool edgeFromPathFeature ( const MAKVRinTerra::DtFeature feature,
DtNavDataGenerator navGenerator,
int  sectorX,
int  sectorY,
unsigned  edgeTag,
std::list< DtNavDataGenerator::NavEdgePoints > *  edges,
DtNavDataGenerator::SectorGenerationThreadInfo threadInfo,
void *  usr 
)

Function to generate a nav edge from terrain feature data. Turns a path feature into nav edge(s), clipped to the current sector.


Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)