Blender V2.61 - r43446
|
btWheelInfo contains information per wheel about friction and suspension. More...
#include <btWheelInfo.h>
Classes | |
struct | RaycastInfo |
Public Member Functions | |
btScalar | getSuspensionRestLength () const |
btWheelInfo (btWheelInfoConstructionInfo &ci) | |
void | updateWheel (const btRigidBody &chassis, RaycastInfo &raycastInfo) |
Public Attributes | |
RaycastInfo | m_raycastInfo |
btTransform | m_worldTransform |
btVector3 | m_chassisConnectionPointCS |
btVector3 | m_wheelDirectionCS |
btVector3 | m_wheelAxleCS |
btScalar | m_suspensionRestLength1 |
btScalar | m_maxSuspensionTravelCm |
btScalar | m_wheelsRadius |
btScalar | m_suspensionStiffness |
btScalar | m_wheelsDampingCompression |
btScalar | m_wheelsDampingRelaxation |
btScalar | m_frictionSlip |
btScalar | m_steering |
btScalar | m_rotation |
btScalar | m_deltaRotation |
btScalar | m_rollInfluence |
btScalar | m_maxSuspensionForce |
btScalar | m_engineForce |
btScalar | m_brake |
bool | m_bIsFrontWheel |
void * | m_clientInfo |
btScalar | m_clippedInvContactDotSuspension |
btScalar | m_suspensionRelativeVelocity |
btScalar | m_wheelsSuspensionForce |
btScalar | m_skidInfo |
btWheelInfo contains information per wheel about friction and suspension.
Definition at line 38 of file btWheelInfo.h.
btWheelInfo::btWheelInfo | ( | btWheelInfoConstructionInfo & | ci | ) | [inline] |
Definition at line 82 of file btWheelInfo.h.
References m_bIsFrontWheel, btWheelInfoConstructionInfo::m_bIsFrontWheel, m_brake, btWheelInfoConstructionInfo::m_chassisConnectionCS, m_chassisConnectionPointCS, m_deltaRotation, m_engineForce, m_frictionSlip, btWheelInfoConstructionInfo::m_frictionSlip, m_maxSuspensionForce, btWheelInfoConstructionInfo::m_maxSuspensionForce, m_maxSuspensionTravelCm, btWheelInfoConstructionInfo::m_maxSuspensionTravelCm, m_rollInfluence, m_rotation, m_steering, btWheelInfoConstructionInfo::m_suspensionRestLength, m_suspensionRestLength1, m_suspensionStiffness, btWheelInfoConstructionInfo::m_suspensionStiffness, m_wheelAxleCS, btWheelInfoConstructionInfo::m_wheelAxleCS, m_wheelDirectionCS, btWheelInfoConstructionInfo::m_wheelDirectionCS, btWheelInfoConstructionInfo::m_wheelRadius, btWheelInfoConstructionInfo::m_wheelsDampingCompression, m_wheelsDampingCompression, btWheelInfoConstructionInfo::m_wheelsDampingRelaxation, m_wheelsDampingRelaxation, and m_wheelsRadius.
btScalar btWheelInfo::getSuspensionRestLength | ( | ) | const |
Definition at line 15 of file btWheelInfo.cpp.
References m_suspensionRestLength1.
Referenced by btRaycastVehicle::rayCast(), btRaycastVehicle::resetSuspension(), btRaycastVehicle::updateSuspension(), and updateWheel().
void btWheelInfo::updateWheel | ( | const btRigidBody & | chassis, |
RaycastInfo & | raycastInfo | ||
) |
Definition at line 22 of file btWheelInfo.cpp.
References btRigidBody::getCenterOfMassPosition(), getSuspensionRestLength(), btRigidBody::getVelocityInLocalPoint(), m_clippedInvContactDotSuspension, btWheelInfo::RaycastInfo::m_contactNormalWS, btWheelInfo::RaycastInfo::m_contactPointWS, btWheelInfo::RaycastInfo::m_isInContact, m_raycastInfo, btWheelInfo::RaycastInfo::m_suspensionLength, m_suspensionRelativeVelocity, btWheelInfo::RaycastInfo::m_wheelDirectionWS, and iTaSC::project().
Definition at line 78 of file btWheelInfo.h.
Referenced by btWheelInfo().
Definition at line 76 of file btWheelInfo.h.
Referenced by WrapperVehicle::ApplyBraking(), btWheelInfo(), btRaycastVehicle::setBrake(), and btRaycastVehicle::updateFriction().
btVector3 btWheelInfo::m_chassisConnectionPointCS |
Definition at line 57 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::updateWheelTransformsWS().
Definition at line 80 of file btWheelInfo.h.
Referenced by WrapperVehicle::AddWheel(), and WrapperVehicle::SyncWheels().
Definition at line 110 of file btWheelInfo.h.
Referenced by btRaycastVehicle::rayCast(), btRaycastVehicle::resetSuspension(), btRaycastVehicle::updateSuspension(), and updateWheel().
Definition at line 70 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::updateVehicle().
Definition at line 74 of file btWheelInfo.h.
Referenced by btRaycastVehicle::applyEngineForce(), btWheelInfo(), and btRaycastVehicle::updateFriction().
Definition at line 67 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::SetWheelFriction(), and btRaycastVehicle::updateFriction().
Definition at line 72 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::updateVehicle().
Definition at line 61 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::rayCast().
Definition at line 53 of file btWheelInfo.h.
Referenced by btRaycastVehicle::rayCast(), btRaycastVehicle::resetSuspension(), btRaycastVehicle::updateFriction(), btRaycastVehicle::updateSuspension(), btRaycastVehicle::updateVehicle(), updateWheel(), btRaycastVehicle::updateWheelTransform(), and btRaycastVehicle::updateWheelTransformsWS().
Definition at line 71 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::SetRollInfluence(), and btRaycastVehicle::updateFriction().
Definition at line 69 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::GetWheelRotation(), btRaycastVehicle::updateVehicle(), and btRaycastVehicle::updateWheelTransform().
Definition at line 114 of file btWheelInfo.h.
Definition at line 68 of file btWheelInfo.h.
Referenced by btWheelInfo(), btRaycastVehicle::getSteeringValue(), btRaycastVehicle::setSteeringValue(), and btRaycastVehicle::updateWheelTransform().
Definition at line 111 of file btWheelInfo.h.
Referenced by btRaycastVehicle::rayCast(), btRaycastVehicle::resetSuspension(), btRaycastVehicle::updateSuspension(), and updateWheel().
Definition at line 60 of file btWheelInfo.h.
Referenced by btWheelInfo(), and getSuspensionRestLength().
Definition at line 64 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::SetSuspensionStiffness(), and btRaycastVehicle::updateSuspension().
btVector3 btWheelInfo::m_wheelAxleCS |
Definition at line 59 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::updateWheelTransformsWS().
btVector3 btWheelInfo::m_wheelDirectionCS |
Definition at line 58 of file btWheelInfo.h.
Referenced by btWheelInfo(), and btRaycastVehicle::updateWheelTransformsWS().
Definition at line 65 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::SetSuspensionCompression(), and btRaycastVehicle::updateSuspension().
Definition at line 66 of file btWheelInfo.h.
Referenced by btWheelInfo(), WrapperVehicle::SetSuspensionDamping(), and btRaycastVehicle::updateSuspension().
Definition at line 63 of file btWheelInfo.h.
Referenced by btWheelInfo(), btRaycastVehicle::rayCast(), and btRaycastVehicle::updateVehicle().
Definition at line 113 of file btWheelInfo.h.
Referenced by btRaycastVehicle::updateFriction(), btRaycastVehicle::updateSuspension(), and btRaycastVehicle::updateVehicle().
Definition at line 55 of file btWheelInfo.h.
Referenced by btRaycastVehicle::debugDraw(), btRaycastVehicle::getWheelTransformWS(), WrapperVehicle::SyncWheels(), and btRaycastVehicle::updateWheelTransform().