Torque 3D
latest
  • What is Torque 3D?
  • Seting up the SDK
  • The Project Manager
  • A Tour of the SDK
  • Overview of World Editor
  • World Editor Interface
  • Level objects
  • Editors
  • Overview of GUI Editor
  • GUI Editor Interface
  • Overview of Content Pipeline
  • Rigging a Player Character
  • What is TorqueScript?
  • Language Reference
  • Console Reference
    • Core
    • GUI
    • Game
      • Game
      • Objects
      • Special Effects
      • Decals
      • AI
        • Classes
        • Functions
      • Physics
      • Vehicles
    • Environment
    • Miscellaneous
    • Rendering
    • Examples
  • Tutorials
Torque 3D
  • Docs »
  • Console Reference »
  • AI »
  • NavMesh
  • Edit on GitHub

NavMesh¶

Inherit:
SceneObject

Description¶

UNDOCUMENTED!

Methods¶

bool NavMesh::build(bool background, bool save)¶

Create a Recast nav mesh.

void NavMesh::buildTiles(Box3F box)¶

Rebuild the tiles overlapped by the input box.

void NavMesh::cancelBuild()¶

Cancel the current NavMesh build.

bool NavMesh::load()¶

Load this NavMesh from its file.

void NavMesh::save()¶

Save this NavMesh to its file.

Fields¶

float NavMesh::actorClimb¶

Maximum climbing height of an actor.

float NavMesh::actorHeight¶

Height of an actor.

float NavMesh::actorRadius¶

Radius of an actor.

bool NavMesh::alwaysRender¶

Display this NavMesh even outside the editor.

int NavMesh::borderSize¶

Size of the non-walkable border around the navigation mesh (in voxels).

float NavMesh::cellHeight¶

Height of a voxel.

float NavMesh::cellSize¶

Length/width of a voxel.

float NavMesh::detailSampleDist¶

Sets the sampling distance to use when generating the detail mesh.

float NavMesh::detailSampleError¶

The maximum distance the detail mesh surface should deviate from heightfield data.

string NavMesh::fileName¶

Name of the data file to store this navmesh in (relative to engine executable).

int NavMesh::maxEdgeLen¶

The maximum allowed length for contour edges along the border of the mesh.

int NavMesh::maxPolysPerTile¶

The maximum number of polygons allowed in a tile.

int NavMesh::mergeRegionArea¶

Any regions with a span count smaller than this value will, if possible, be merged with larger regions.

int NavMesh::minRegionArea¶

The minimum number of cells allowed to form isolated island areas.

float NavMesh::simplificationError¶

The maximum distance a simplfied contour’s border edges should deviate from the original raw contour.

float NavMesh::tileSize¶

The horizontal size of tiles.

float NavMesh::walkableSlope¶

Maximum walkable slope in degrees.

Next Previous

© Copyright 2014, GarageGames, LLC. Revision 2d23010d.

Built with Sphinx using a theme provided by Read the Docs.