Changeset 2430 for code/branches/physics/src/bullet/BulletDynamics/Vehicle
- Timestamp:
- Dec 13, 2008, 11:45:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletDynamics/Vehicle/btRaycastVehicle.cpp
r2192 r2430 189 189 wheel.m_raycastInfo.m_isInContact = true; 190 190 191 wheel.m_raycastInfo.m_groundObject = &s_fixedObject;// todo for driving on dynamic/movable objects!;191 wheel.m_raycastInfo.m_groundObject = &s_fixedObject;///@todo for driving on dynamic/movable objects!; 192 192 //wheel.m_raycastInfo.m_groundObject = object; 193 193 … … 692 692 btVector3 sideImp = m_axle[wheel] * m_sideImpulse[wheel]; 693 693 694 rel_pos[ 2] *= wheelInfo.m_rollInfluence;694 rel_pos[m_indexForwardAxis] *= wheelInfo.m_rollInfluence; 695 695 m_chassisBody->applyImpulse(sideImp,rel_pos); 696 696
Note: See TracChangeset
for help on using the changeset viewer.