rayCast vehicle, very special constraint that turn a rigidbody into a vehicle. More...
#include <btRaycastVehicle.h>


rayCast vehicle, very special constraint that turn a rigidbody into a vehicle.
Definition at line 25 of file btRaycastVehicle.h.
| btRaycastVehicle::btRaycastVehicle | ( | const btVehicleTuning & | tuning, | |
| btRigidBody * | chassis, | |||
| btVehicleRaycaster * | raycaster | |||
| ) |
Definition at line 27 of file btRaycastVehicle.cpp.
| btRaycastVehicle::~btRaycastVehicle | ( | ) | [virtual] |
Definition at line 49 of file btRaycastVehicle.cpp.
| btWheelInfo & btRaycastVehicle::addWheel | ( | const btVector3 & | connectionPointCS0, | |
| const btVector3 & | wheelDirectionCS0, | |||
| const btVector3 & | wheelAxleCS, | |||
| btScalar | suspensionRestLength, | |||
| btScalar | wheelRadius, | |||
| const btVehicleTuning & | tuning, | |||
| bool | isFrontWheel | |||
| ) |
Definition at line 57 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::applyEngineForce | ( | btScalar | force, | |
| int | wheel | |||
| ) |
Definition at line 374 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::debugDraw | ( | btIDebugDraw * | debugDrawer | ) | [virtual] |
btActionInterface interface
Implements btActionInterface.
Definition at line 706 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::defaultInit | ( | const btVehicleTuning & | tuning | ) | [private] |
Definition at line 39 of file btRaycastVehicle.cpp.
| const btTransform & btRaycastVehicle::getChassisWorldTransform | ( | ) | const |
Definition at line 245 of file btRaycastVehicle.cpp.
| btScalar btRaycastVehicle::getCurrentSpeedKmHour | ( | ) | const [inline] |
Velocity of vehicle (positive if velocity vector has same direction as foward vector).
Definition at line 181 of file btRaycastVehicle.h.
| int btRaycastVehicle::getForwardAxis | ( | ) | const [inline] |
Definition at line 161 of file btRaycastVehicle.h.
| btVector3 btRaycastVehicle::getForwardVector | ( | ) | const [inline] |
Worldspace forward vector.
Definition at line 168 of file btRaycastVehicle.h.
| int btRaycastVehicle::getNumWheels | ( | ) | const [inline] |
Definition at line 115 of file btRaycastVehicle.h.
| int btRaycastVehicle::getRightAxis | ( | ) | const [inline] |
Definition at line 152 of file btRaycastVehicle.h.
| const btRigidBody* btRaycastVehicle::getRigidBody | ( | ) | const [inline] |
Definition at line 147 of file btRaycastVehicle.h.
| btRigidBody* btRaycastVehicle::getRigidBody | ( | ) | [inline] |
Definition at line 142 of file btRaycastVehicle.h.
| btScalar btRaycastVehicle::getSteeringValue | ( | int | wheel | ) | const |
Definition at line 368 of file btRaycastVehicle.cpp.
| int btRaycastVehicle::getUpAxis | ( | ) | const [inline] |
Definition at line 156 of file btRaycastVehicle.h.
| btWheelInfo & btRaycastVehicle::getWheelInfo | ( | int | index | ) |
Definition at line 389 of file btRaycastVehicle.cpp.
| const btWheelInfo & btRaycastVehicle::getWheelInfo | ( | int | index | ) | const |
Definition at line 382 of file btRaycastVehicle.cpp.
| const btTransform & btRaycastVehicle::getWheelTransformWS | ( | int | wheelIndex | ) | const |
Definition at line 87 of file btRaycastVehicle.cpp.
| btScalar btRaycastVehicle::rayCast | ( | btWheelInfo & | wheel | ) |
Definition at line 159 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::resetSuspension | ( | ) |
Definition at line 128 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::setBrake | ( | btScalar | brake, | |
| int | wheelIndex | |||
| ) |
Definition at line 396 of file btRaycastVehicle.cpp.
| virtual void btRaycastVehicle::setCoordinateSystem | ( | int | rightIndex, | |
| int | upIndex, | |||
| int | forwardIndex | |||
| ) | [inline, virtual] |
Definition at line 186 of file btRaycastVehicle.h.
| void btRaycastVehicle::setPitchControl | ( | btScalar | pitch | ) | [inline] |
Definition at line 131 of file btRaycastVehicle.h.
| void btRaycastVehicle::setRaycastWheelInfo | ( | int | wheelIndex, | |
| bool | isInContact, | |||
| const btVector3 & | hitPoint, | |||
| const btVector3 & | hitNormal, | |||
| btScalar | depth | |||
| ) |
| void btRaycastVehicle::setSteeringValue | ( | btScalar | steering, | |
| int | wheel | |||
| ) |
Definition at line 358 of file btRaycastVehicle.cpp.
| virtual void btRaycastVehicle::updateAction | ( | btCollisionWorld * | collisionWorld, | |
| btScalar | step | |||
| ) | [inline, virtual] |
btActionInterface interface
Implements btActionInterface.
Definition at line 81 of file btRaycastVehicle.h.
| void btRaycastVehicle::updateFriction | ( | btScalar | timeStep | ) | [virtual] |
Definition at line 518 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::updateSuspension | ( | btScalar | deltaTime | ) |
Definition at line 403 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::updateVehicle | ( | btScalar | step | ) | [virtual] |
Definition at line 260 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::updateWheelTransform | ( | int | wheelIndex, | |
| bool | interpolatedTransform = true | |||
| ) |
Definition at line 95 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::updateWheelTransformsWS | ( | btWheelInfo & | wheel, | |
| bool | interpolatedTransform = true | |||
| ) |
Definition at line 144 of file btRaycastVehicle.cpp.
Definition at line 29 of file btRaycastVehicle.h.
btRigidBody* btRaycastVehicle::m_chassisBody [private] |
Definition at line 64 of file btRaycastVehicle.h.
Definition at line 62 of file btRaycastVehicle.h.
btScalar btRaycastVehicle::m_damping [private] |
Definition at line 58 of file btRaycastVehicle.h.
Definition at line 30 of file btRaycastVehicle.h.
Definition at line 28 of file btRaycastVehicle.h.
int btRaycastVehicle::m_indexForwardAxis [private] |
Definition at line 68 of file btRaycastVehicle.h.
int btRaycastVehicle::m_indexRightAxis [private] |
Definition at line 66 of file btRaycastVehicle.h.
int btRaycastVehicle::m_indexUpAxis [private] |
Definition at line 67 of file btRaycastVehicle.h.
btScalar btRaycastVehicle::m_pitchControl [private] |
Definition at line 60 of file btRaycastVehicle.h.
Definition at line 31 of file btRaycastVehicle.h.
btScalar btRaycastVehicle::m_steeringValue [private] |
Definition at line 61 of file btRaycastVehicle.h.
btScalar btRaycastVehicle::m_tau [private] |
Definition at line 57 of file btRaycastVehicle.h.
Definition at line 59 of file btRaycastVehicle.h.
Definition at line 119 of file btRaycastVehicle.h.
1.6.1