SPhysicsTerrain Struct Reference

#include <SPhysicsStructs.h>

List of all members.

Public Attributes

ITerrainSceneNode * node
 Pointer to Irrlicht ITerrainSceneNode.
vector3df scale


Detailed Description

Terrain struct. Use this for creating terrain.


Member Data Documentation

ITerrainSceneNode* SPhysicsTerrain::node

Pointer to Irrlicht ITerrainSceneNode.

vector3df SPhysicsTerrain::scale

Terrain scale. When IPhysics creates the terrain, it will apply this scale to the Irrlicht node as well as the Newton mesh, so you don't have to worry about that. However, you do need to ensure that the terrain scale is set to something, otherwise your terrain will be created with a scale of (0,0,0) and so will be invisible. If you want it to be the actual size of the mesh, set it to (1, 1, 1).


The documentation for this struct was generated from the following file:
Generated on Sun Apr 15 00:25:19 2007 for IPhysics by  doxygen 1.5.1-p1