Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Static Protected Member Functions
physics::PhysicsDriver Class Reference

#include <PhysicsDriver.h>

List of all members.

Public Member Functions

virtual void initialize ()
 PhysicsDriver ()
virtual void setCollisionAccuracy (f32 accuracy)=0
virtual void setGravity (const core::vector3d &gravity)=0
virtual void setHardware (bool state)=0
virtual void setSolverAccuracy (f32 accuracy)=0
virtual void start ()
virtual void stop ()
virtual void update (f32 elapsedTime)
virtual ~PhysicsDriver ()

Static Protected Member Functions

static void fireCollisionEnded (Body *body1, Body *body2)
static void fireCollisionStarted (Body *body1, Body *body2, const std::vector< CollisionPoint * > &points)
static void fireCollisionUpdate (Body *body1, Body *body2, const std::vector< CollisionPoint * > &points)

Detailed Description

Defines the functionality of a 3D Physics API

The PhysicsSystem class provides a base interface which abstracts the general functionality of the physics API e.g. ODE or PhysX. Whilst a few of the general methods have implementations, most of this class is abstract, requiring a subclass based on a specific API to be constructed to provide the full functionality.

Constructor & Destructor Documentation

physics::PhysicsDriver::PhysicsDriver ( )
physics::PhysicsDriver::~PhysicsDriver ( ) [virtual]

Member Function Documentation

void physics::PhysicsDriver::fireCollisionEnded ( Body body1,
Body body2 
) [static, protected]
void physics::PhysicsDriver::fireCollisionStarted ( Body body1,
Body body2,
const std::vector< CollisionPoint * > &  points 
) [static, protected]
void physics::PhysicsDriver::fireCollisionUpdate ( Body body1,
Body body2,
const std::vector< CollisionPoint * > &  points 
) [static, protected]
void physics::PhysicsDriver::initialize ( ) [virtual]
virtual void physics::PhysicsDriver::setCollisionAccuracy ( f32  accuracy) [pure virtual]
virtual void physics::PhysicsDriver::setGravity ( const core::vector3d gravity) [pure virtual]
virtual void physics::PhysicsDriver::setHardware ( bool  state) [pure virtual]
virtual void physics::PhysicsDriver::setSolverAccuracy ( f32  accuracy) [pure virtual]
void physics::PhysicsDriver::start ( ) [virtual]
void physics::PhysicsDriver::stop ( ) [virtual]
void physics::PhysicsDriver::update ( f32  elapsedTime) [virtual]

The documentation for this class was generated from the following files:

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by Doxygen (1.7.4)