|
Bullet Collision Detection & Physics Library
|
rayCast vehicle, very special constraint that turn a rigidbody into a vehicle. More...
#include <btRaycastVehicle.h>


Classes | |
| class | btVehicleTuning |
Public Attributes | |
| btAlignedObjectArray< btWheelInfo > | m_wheelInfo |
Private Member Functions | |
| void | defaultInit (const btVehicleTuning &tuning) |
Additional Inherited Members | |
Static Protected Member Functions inherited from btActionInterface | |
| static btRigidBody & | getFixedBody () |
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 35 of file btRaycastVehicle.cpp.
|
virtual |
Definition at line 57 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 65 of file btRaycastVehicle.cpp.
Definition at line 383 of file btRaycastVehicle.cpp.
|
virtual |
btActionInterface interface
Implements btActionInterface.
Definition at line 720 of file btRaycastVehicle.cpp.
|
private |
Definition at line 47 of file btRaycastVehicle.cpp.
| const btTransform & btRaycastVehicle::getChassisWorldTransform | ( | ) | const |
Definition at line 253 of file btRaycastVehicle.cpp.
|
inline |
Velocity of vehicle (positive if velocity vector has same direction as foward vector)
Definition at line 183 of file btRaycastVehicle.h.
|
inline |
Definition at line 163 of file btRaycastVehicle.h.
|
inline |
Worldspace forward vector.
Definition at line 170 of file btRaycastVehicle.h.
|
inline |
Definition at line 117 of file btRaycastVehicle.h.
|
inline |
Definition at line 154 of file btRaycastVehicle.h.
|
inline |
Definition at line 144 of file btRaycastVehicle.h.
|
inline |
Definition at line 149 of file btRaycastVehicle.h.
Definition at line 377 of file btRaycastVehicle.cpp.
|
inline |
Definition at line 158 of file btRaycastVehicle.h.
|
inline |
Definition at line 212 of file btRaycastVehicle.h.
|
inline |
backwards compatibility
Definition at line 197 of file btRaycastVehicle.h.
| btWheelInfo & btRaycastVehicle::getWheelInfo | ( | int | index | ) |
Definition at line 398 of file btRaycastVehicle.cpp.
| const btWheelInfo & btRaycastVehicle::getWheelInfo | ( | int | index | ) | const |
Definition at line 391 of file btRaycastVehicle.cpp.
| const btTransform & btRaycastVehicle::getWheelTransformWS | ( | int | wheelIndex | ) | const |
Definition at line 95 of file btRaycastVehicle.cpp.
| btScalar btRaycastVehicle::rayCast | ( | btWheelInfo & | wheel | ) |
Definition at line 167 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::resetSuspension | ( | ) |
Definition at line 136 of file btRaycastVehicle.cpp.
Definition at line 405 of file btRaycastVehicle.cpp.
|
inlinevirtual |
Definition at line 188 of file btRaycastVehicle.h.
Definition at line 133 of file btRaycastVehicle.h.
Definition at line 367 of file btRaycastVehicle.cpp.
Definition at line 207 of file btRaycastVehicle.h.
Definition at line 202 of file btRaycastVehicle.h.
|
inlinevirtual |
btActionInterface interface
Implements btActionInterface.
Definition at line 83 of file btRaycastVehicle.h.
Definition at line 527 of file btRaycastVehicle.cpp.
Definition at line 412 of file btRaycastVehicle.cpp.
Definition at line 268 of file btRaycastVehicle.cpp.
Definition at line 103 of file btRaycastVehicle.cpp.
| void btRaycastVehicle::updateWheelTransformsWS | ( | btWheelInfo & | wheel, |
| bool | interpolatedTransform = true ) |
Definition at line 152 of file btRaycastVehicle.cpp.
|
private |
Definition at line 29 of file btRaycastVehicle.h.
|
private |
Definition at line 66 of file btRaycastVehicle.h.
|
private |
Definition at line 64 of file btRaycastVehicle.h.
|
private |
Definition at line 30 of file btRaycastVehicle.h.
|
private |
Definition at line 28 of file btRaycastVehicle.h.
|
private |
Definition at line 70 of file btRaycastVehicle.h.
|
private |
Definition at line 68 of file btRaycastVehicle.h.
|
private |
Definition at line 69 of file btRaycastVehicle.h.
|
private |
Definition at line 62 of file btRaycastVehicle.h.
|
private |
Definition at line 31 of file btRaycastVehicle.h.
|
private |
Definition at line 63 of file btRaycastVehicle.h.
|
private |
Definition at line 35 of file btRaycastVehicle.h.
|
private |
backwards compatibility
Definition at line 34 of file btRaycastVehicle.h.
|
private |
Definition at line 61 of file btRaycastVehicle.h.
| btAlignedObjectArray<btWheelInfo> btRaycastVehicle::m_wheelInfo |
Definition at line 121 of file btRaycastVehicle.h.