VR-Forces 4.8 Class Documentation
 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, void *usr)
 Function to generate a nav edge from dynamic terrain features. More...
 
bool edgeFromPathFeature (const MAKVRinTerra::DtFeature &feature, DtNavDataGenerator *navGenerator, int sectorX, int sectorY, unsigned edgeTag, std::list< DtNavDataGenerator::NavEdgePoints > *edges, void *usr)
 Function to generate a nav edge from terrain feature data. More...
 

Function Documentation

bool edgeFromIntersectionNormal ( const DtRwDynamicTerrainInformation dynTerrInfo,
DtNavDataGenerator navGenerator,
int  sectorX,
int  sectorY,
unsigned  edgeTag,
std::list< DtNavDataGenerator::NavEdgePoints > *  edges,
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,
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)