Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Public Attributes | List of all members
btWheelInfo Struct Reference

btWheelInfo contains information per wheel about friction and suspension. More...

#include <btWheelInfo.h>

Collaboration diagram for btWheelInfo:
Collaboration graph


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

Detailed Description

btWheelInfo contains information per wheel about friction and suspension.

Definition at line 38 of file btWheelInfo.h.

Constructor & Destructor Documentation

btWheelInfo::btWheelInfo ( btWheelInfoConstructionInfo ci)

Definition at line 82 of file btWheelInfo.h.

Member Function Documentation

btScalar btWheelInfo::getSuspensionRestLength ( ) const

Definition at line 15 of file btWheelInfo.cpp.

void btWheelInfo::updateWheel ( const btRigidBody chassis,
RaycastInfo raycastInfo 

Definition at line 22 of file btWheelInfo.cpp.

Member Data Documentation

bool btWheelInfo::m_bIsFrontWheel

Definition at line 78 of file btWheelInfo.h.

btScalar btWheelInfo::m_brake

Definition at line 76 of file btWheelInfo.h.

btVector3 btWheelInfo::m_chassisConnectionPointCS

Definition at line 57 of file btWheelInfo.h.

void* btWheelInfo::m_clientInfo

Definition at line 80 of file btWheelInfo.h.

btScalar btWheelInfo::m_clippedInvContactDotSuspension

Definition at line 110 of file btWheelInfo.h.

btScalar btWheelInfo::m_deltaRotation

Definition at line 70 of file btWheelInfo.h.

btScalar btWheelInfo::m_engineForce

Definition at line 74 of file btWheelInfo.h.

btScalar btWheelInfo::m_frictionSlip

Definition at line 67 of file btWheelInfo.h.

btScalar btWheelInfo::m_maxSuspensionForce

Definition at line 72 of file btWheelInfo.h.

btScalar btWheelInfo::m_maxSuspensionTravelCm

Definition at line 61 of file btWheelInfo.h.

RaycastInfo btWheelInfo::m_raycastInfo

Definition at line 53 of file btWheelInfo.h.

btScalar btWheelInfo::m_rollInfluence

Definition at line 71 of file btWheelInfo.h.

btScalar btWheelInfo::m_rotation

Definition at line 69 of file btWheelInfo.h.

btScalar btWheelInfo::m_skidInfo

Definition at line 114 of file btWheelInfo.h.

btScalar btWheelInfo::m_steering

Definition at line 68 of file btWheelInfo.h.

btScalar btWheelInfo::m_suspensionRelativeVelocity

Definition at line 111 of file btWheelInfo.h.

btScalar btWheelInfo::m_suspensionRestLength1

Definition at line 60 of file btWheelInfo.h.

btScalar btWheelInfo::m_suspensionStiffness

Definition at line 64 of file btWheelInfo.h.

btVector3 btWheelInfo::m_wheelAxleCS

Definition at line 59 of file btWheelInfo.h.

btVector3 btWheelInfo::m_wheelDirectionCS

Definition at line 58 of file btWheelInfo.h.

btScalar btWheelInfo::m_wheelsDampingCompression

Definition at line 65 of file btWheelInfo.h.

btScalar btWheelInfo::m_wheelsDampingRelaxation

Definition at line 66 of file btWheelInfo.h.

btScalar btWheelInfo::m_wheelsRadius

Definition at line 63 of file btWheelInfo.h.

btScalar btWheelInfo::m_wheelsSuspensionForce

Definition at line 113 of file btWheelInfo.h.

btTransform btWheelInfo::m_worldTransform

Definition at line 55 of file btWheelInfo.h.

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