Torque 3D
latest

Working with Torque3D

  • What is Torque3D?
  • Directory Tour - TODO
  • Features
  • Assets

Setup

  • Overview - TODO
  • Required Downloads - TODO
  • Installing DirectX SDK - TODO
  • Install Visual Studio 2015 - TODO
  • Setup Visual Studio 2015 - TODO
  • Your First Project - TODO

World Editor

  • Basics
  • Adding Objects
  • Editors
  • Tutorials

Gui Editor

  • Overview of GUI Editor
  • Tutorials

Artist Guide

  • Primer
  • Formats
  • Exporters
  • Tutorials
  • Importing Assets

Scripting

  • Overview
  • Simple
  • Advanced

Engine

  • Audio
  • Lighting
  • Rendering
Torque 3D
  • Docs »
  • 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.


© Copyright 2014, GarageGames, LLC Revision 2a98f0d7.

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