CrystalSpace

Public API Reference

CS::Collisions Namespace Reference

Collision detection and utilities. More...

Classes

class  CollisionHelper
 A class to help managing the colliders and physical models of the meshes and scenes. More...
struct  HitBeamResult
 A structure used to return the result of hit beam. More...
struct  iCollider
 A base interface for colliders. More...
struct  iColliderBox
 A box collider. More...
struct  iColliderCapsule
 A capsule collider. More...
struct  iColliderConcaveMesh
 A static concave mesh collider. More...
struct  iColliderConcaveMeshScaled
 A scaled static concave mesh collider. More...
struct  iColliderCone
 A cone collider. More...
struct  iColliderConvexMesh
 A convex mesh collider. More...
struct  iColliderCylinder
 A cylinder collider. More...
struct  iColliderPlane
 A static plane collider. More...
struct  iColliderSphere
 A sphere collider. More...
struct  iColliderTerrainCell
 A terrain cell collider, part of a iCollisionTerrain. More...
struct  iCollisionActor
 A iCollisionActor is dedicated to actor motion controlling, and can be used to manage eg a Player or a Non-Player Character object. More...
struct  iCollisionActorFactory
 A iCollisionActor is dedicated to actor motion controlling, and can be used to manage eg a Player or a Non-Player Character object. More...
struct  iCollisionCallback
 This is the interface for attaching a collision callback to a collision object. More...
struct  iCollisionContact
 A structure used to describe a collision contact between two objects. More...
struct  iCollisionData
 A structure used to return the collision data between two objects. More...
struct  iCollisionDataList
 A list of CS::Collisions::iCollisionData. More...
struct  iCollisionGroup
 Collision groups allow to filter the collisions occuring between the objects in the system. More...
struct  iCollisionObject
 This is the interface of a collision object. More...
struct  iCollisionObjectFactory
 Factory to create instances of iCollisionObject. More...
struct  iCollisionSector
 This is the interface for the collision sector. More...
struct  iCollisionSystem
 This is the Collision plug-in. More...
struct  iCollisionTerrain
 A collision terrain is associated with a iTerrainSystem mesh, and consists of multiple cell colliders (CS::Collisions::iColliderTerrainCell objects). More...
struct  iCollisionTerrainFactory
 Factory to create instances of iCollisionTerrain. More...
struct  iConvexDecomposer
 Performs a convex decomposition on a concave mesh. More...

Enumerations

enum  ColliderType {
  COLLIDER_INVALID = 0, COLLIDER_BOX, COLLIDER_SPHERE, COLLIDER_CYLINDER,
  COLLIDER_CAPSULE, COLLIDER_CONE, COLLIDER_PLANE, COLLIDER_CONVEX_MESH,
  COLLIDER_CONCAVE_MESH, COLLIDER_CONCAVE_MESH_SCALED, COLLIDER_TERRAIN_CELL, COLLIDER_COMPOUND
}
 

The type of a collider.

More...
enum  CollisionObjectType {
  COLLISION_OBJECT_SIMPLE = 0, COLLISION_OBJECT_PHYSICAL, COLLISION_OBJECT_GHOST, COLLISION_OBJECT_ACTOR,
  COLLISION_OBJECT_TERRAIN
}
 

The type of a collision object.

More...

Detailed Description

Collision detection and utilities.


Enumeration Type Documentation

The type of a collider.

Enumerator:
COLLIDER_INVALID 

Undefined collider type.

COLLIDER_BOX 

The collider is a box.

COLLIDER_SPHERE 

The collider is a sphere.

COLLIDER_CYLINDER 

The collider is a cylinder.

COLLIDER_CAPSULE 

The collider is a capsule.

COLLIDER_CONE 

The collider is a cone.

COLLIDER_PLANE 

The collider is a plane.

COLLIDER_CONVEX_MESH 

The collider is a convex mesh.

COLLIDER_CONCAVE_MESH 

The collider is a concave mesh.

COLLIDER_CONCAVE_MESH_SCALED 

The collider is a scaled concave mesh.

COLLIDER_TERRAIN_CELL 

The collider is a terrain cell.

COLLIDER_COMPOUND 

The collider is an empty (hence supposedly compound) collider.

Definition at line 64 of file colliders.h.

The type of a collision object.

Enumerator:
COLLISION_OBJECT_SIMPLE 

The collision object is a simple static collision object. It can never be upcast to a iPhysicalObject.

COLLISION_OBJECT_PHYSICAL 

The collision object is a physical object and can be upcast to a iPhysicalObject.

COLLISION_OBJECT_GHOST 

The collision object is a ghost.

COLLISION_OBJECT_ACTOR 

The collision object is an actor.

COLLISION_OBJECT_TERRAIN 

The collision object is a terrain.

Definition at line 68 of file collisions.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1