Logo Search packages:      
Sourcecode: blender version File versions  Download package

KX_VehicleWrapper Class Reference

#include <KX_VehicleWrapper.h>

Inheritance diagram for KX_VehicleWrapper:

List of all members.

Detailed Description

Python interface to physics vehicles (primarily 4-wheel cars and 2wheel bikes).

Definition at line 12 of file KX_VehicleWrapper.h.

Public Member Functions

virtual int _delattr (const STR_String &attr)
virtual PyObject * _repr (void)
int getConstraintId ()
bool isA (const char *mytypename)
bool isA (PyTypeObject *T)
 KX_PYMETHOD (KX_VehicleWrapper, SetRollInfluence)
 KX_PYMETHOD (KX_VehicleWrapper, SetSuspensionCompression)
 KX_PYMETHOD (KX_VehicleWrapper, SetSuspensionDamping)
 KX_PYMETHOD (KX_VehicleWrapper, SetSuspensionStiffness)
 KX_PYMETHOD (KX_VehicleWrapper, SetTyreFriction)
 KX_PYMETHOD (KX_VehicleWrapper, ApplyBraking)
 KX_PYMETHOD (KX_VehicleWrapper, ApplyEngineForce)
 KX_PYMETHOD (KX_VehicleWrapper, SetSteeringValue)
 KX_PYMETHOD (KX_VehicleWrapper, GetConstraintType)
 KX_PYMETHOD (KX_VehicleWrapper, GetConstraintId)
 KX_PYMETHOD (KX_VehicleWrapper, GetWheelPosition)
 KX_PYMETHOD (KX_VehicleWrapper, GetWheelRotation)
 KX_PYMETHOD (KX_VehicleWrapper, GetWheelOrientationQuaternion)
 KX_PYMETHOD (KX_VehicleWrapper, GetNumWheels)
 KX_PYMETHOD (KX_VehicleWrapper, AddWheel)
 KX_VehicleWrapper (PHY_IVehicle *vehicle, class PHY_IPhysicsEnvironment *physenv, PyTypeObject *T=&Type)
PyObject * Py_isA (PyObject *args)

Static Public Member Functions

static PyObject * __getattr (PyObject *PyObj, char *attr)
static PyObject * __repr (PyObject *PyObj)
static int __setattr (PyObject *PyObj, char *attr, PyObject *value)
static void PyDestructor (PyObject *P)
static PyObject * sPy_isA (PyObject *self, PyObject *args, PyObject *kwd)

Private Member Functions

virtual PyObject * _getattr (const STR_String &attr)
virtual int _setattr (const STR_String &attr, PyObject *value)

Private Attributes

std::vector< PHY_IMotionState * > m_motionStates
PHY_IVehicle * m_vehicle

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

Generated by  Doxygen 1.6.0   Back to index