- Timestamp:
- Mar 31, 2009, 8:05:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/bullet/BulletDynamics/Vehicle/btRaycastVehicle.h
r2662 r2882 18 18 #include "LinearMath/btAlignedObjectArray.h" 19 19 #include "btWheelInfo.h" 20 #include "BulletDynamics/Dynamics/btActionInterface.h" 20 21 21 22 class btVehicleTuning; 22 23 23 24 ///rayCast vehicle, very special constraint that turn a rigidbody into a vehicle. 24 class btRaycastVehicle : public bt TypedConstraint25 class btRaycastVehicle : public btActionInterface 25 26 { 26 27 … … 74 75 virtual ~btRaycastVehicle() ; 75 76 76 77 78 ///btActionInterface interface 79 virtual void updateAction( btCollisionWorld* collisionWorld, btScalar step) 80 { 81 updateVehicle(step); 82 } 83 84 85 ///btActionInterface interface 86 void debugDraw(btIDebugDraw* debugDrawer); 87 77 88 const btTransform& getChassisWorldTransform() const; 78 89 … … 80 91 81 92 virtual void updateVehicle(btScalar step); 82 93 94 83 95 void resetSuspension(); 84 96 … … 176 188 } 177 189 178 virtual void buildJacobian()179 {180 //not yet181 }182 183 virtual void solveConstraint(btScalar timeStep)184 {185 (void)timeStep;186 //not yet187 }188 190 189 191
Note: See TracChangeset
for help on using the changeset viewer.