#include <SPhysicsStructs.h>
Inherited by SPhysicsMesh, SPhysicsPrimitive, and SPhysicsSerializedEntity.
Public Member Functions | |
| SPhysicsAttributes () | |
| Constructor for setting default values. | |
Public Attributes | |
| vector3df | scale |
| Mesh scale. See notes for SPhysicsTerrain. | |
| f32 | mass |
| Mass of the body. | |
| ENUMERATED_BODY_TYPE | bodyType |
| The type of body - either EBT_DYNAMIC (affected by collisions and gravity) or EBT_STATIC (solid but unaffected by collisions or gravity). | |
| ISceneNode * | node |
| A pointer to the Irrlicht scene node. If there are several then this should be the root node, and the others added to it as child nodes. | |
| SPhysicsAttributes::SPhysicsAttributes | ( | ) | [inline] |
Constructor for setting default values.
| vector3df SPhysicsAttributes::scale |
Mesh scale. See notes for SPhysicsTerrain.
Mass of the body.
The type of body - either EBT_DYNAMIC (affected by collisions and gravity) or EBT_STATIC (solid but unaffected by collisions or gravity).
| ISceneNode* SPhysicsAttributes::node |
A pointer to the Irrlicht scene node. If there are several then this should be the root node, and the others added to it as child nodes.
1.5.1-p1