A wrapper around SceneEntity that provides physics information. More...
Inherits Polycode::CollisionSceneEntity.
Inherited by Polycode::PhysicsCharacter, and Polycode::PhysicsVehicle.
Public Member Functions | |
Physics scene entity | |
SceneEntity * | getSceneEntity () |
void | setFriction (Number friction) |
int | getType () |
void | setVelocity (Vector3 velocity) |
void | warpTo (Vector3 position, bool resetRotation) |
Static Public Attributes | |
static const int | SHAPE_BOX = 0 |
Box shape. | |
static const int | SHAPE_TERRAIN = 1 |
Terrain shape. | |
static const int | SHAPE_SPHERE = 2 |
Sphere shape. | |
static const int | SHAPE_MESH = 3 |
Mesh shape. | |
static const int | CHARACTER_CONTROLLER = 4 |
Character controller shape. | |
static const int | SHAPE_CAPSULE = 5 |
Capsule shape. | |
static const int | SHAPE_PLANE = 6 |
Plane shape. | |
static const int | SHAPE_CONE = 7 |
Cone shape. | |
static const int | SHAPE_CYLINDER = 8 |
Cylinder shape. |
A wrapper around SceneEntity that provides physics information.