CrystalSpace

Public API Reference

CS::Physics Namespace Reference

Objects of a dynamic simulation. More...

Namespaces

namespace  Bullet
 

Objects of a dynamic simulation with the Bullet plugin.


Classes

struct  iAnchorAnimationControl
 This class can be implemented in order to update the position of an anchor of a CS::Physics::iSoftBody. More...
struct  iJoint
 A joint that can constrain the relative motion between two iPhysicalBody. More...
struct  iJointFactory
 A joint that can constrain the relative motion between two iPhysicalBody. More...
struct  iKinematicCallback
 A callback to be implemented when you are using kinematic bodies. More...
struct  iPhysicalBody
 A base interface of physical bodies. More...
struct  iPhysicalObjectFactory
 Collection of all properties of a physical object. More...
struct  iPhysicalSector
 This is the interface for the physical sector. More...
struct  iPhysicalSystem
 This is the interface for the actual plugin. More...
struct  iRigidBody
 This is the interface for a rigid body. More...
struct  iRigidBodyFactory
 Collection of all properties of a rigid body. More...
struct  iSoftBody
 A soft body is a physical body that can be deformed by the physical simulation. More...
struct  iSoftBodyFactory
 Factory for the creation of instances of iSoftBody. More...
struct  iSoftClothFactory
 Used to create a two-dimensional softbody, typically a cloth. More...
struct  iSoftMeshFactory
 Used to create an arbitrary softbody defined by a given triangle mesh. More...
struct  iSoftRopeFactory
 Used to create a one-dimensional softbody. More...
struct  iVehicle
 A physical, wheeled, grounded vehicle. More...
struct  iVehicleBrake
 A brake acts on a given set of wheels with a given amount of force. More...
struct  iVehicleFactory
 A factory to create instances of iVehicle. More...
struct  iVehicleSteeringDevice
 A steering device steers a given set of tires with a given maximum amount. More...
struct  iVehicleWheel
 The wheel of a vehicle. More...
struct  iVehicleWheelFactory
 The factory for the wheel of a vehicle. More...
struct  SoftBodyHelper
 General helper class for CS::Physics::iSoftBody. More...

Enumerations

enum  DebugMode { DEBUG_NOTHING = 0, DEBUG_COLLIDERS = 1, DEBUG_AABB = 2, DEBUG_JOINTS = 4 }
 

The debug mode to be used by the iPhysicalSystem.

More...
enum  MeshDuplicationMode { MESH_DUPLICATION_NONE = 0, MESH_DUPLICATION_INTERLEAVED, MESH_DUPLICATION_CONTIGUOUS }
 

The mode of duplication used for the faces of the mesh.

More...
enum  PhysicalObjectType { PHYSICAL_OBJECT_RIGIDBODY = 0, PHYSICAL_OBJECT_SOFTBODY }
 

The type of a physical body.

More...
enum  RigidBodyState { STATE_STATIC = 0, STATE_DYNAMIC, STATE_KINEMATIC }
 

The state of a rigid body.

More...

Detailed Description

Objects of a dynamic simulation.


Enumeration Type Documentation

The debug mode to be used by the iPhysicalSystem.

Enumerator:
DEBUG_NOTHING 

Nothing will be displayed.

DEBUG_COLLIDERS 

Display the colliders of the bodies.

DEBUG_AABB 

Display the axis aligned bounding boxes of the bodies.

DEBUG_JOINTS 

Display the joint positions and limits.

Definition at line 74 of file physics.h.

The mode of duplication used for the faces of the mesh.

That is, if the mesh is double sided, and whether the vertices and triangles that are duplicated are interleaved or contiguous.

Enumerator:
MESH_DUPLICATION_NONE 

The faces of the mesh are not double sided, i.e. the vertices and triangles are not duplicated.

MESH_DUPLICATION_INTERLEAVED 

The faces of the mesh are double sided, and the duplicated vertices and triangles are interleaved with the original ones.

MESH_DUPLICATION_CONTIGUOUS 

The faces of the mesh are double sided, and the duplicated vertices and triangles are packed contiguously at the end of their buffer.

Definition at line 87 of file physics.h.

The type of a physical body.

Enumerator:
PHYSICAL_OBJECT_RIGIDBODY 

The physical object is a rigid body.

PHYSICAL_OBJECT_SOFTBODY 

The physical object is a soft body.

Definition at line 65 of file physics.h.

The state of a rigid body.

Enumerator:
STATE_STATIC 

The body is in the static state.

STATE_DYNAMIC 

The body is in the dynamic state.

STATE_KINEMATIC 

The body is in the kinematic state.

Definition at line 55 of file physics.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1