#include <SPhysicsStructs.h>
Public Attributes | |
| ITerrainSceneNode * | node |
| Pointer to Irrlicht ITerrainSceneNode. | |
| vector3df | scale |
| 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).
1.5.1-p1