Blender
V3.3
|
#include "LinearMath/btVector3.h"
#include "btRaycastVehicle.h"
#include "BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h"
#include "BulletDynamics/ConstraintSolver/btJacobianEntry.h"
#include "LinearMath/btQuaternion.h"
#include "BulletDynamics/Dynamics/btDynamicsWorld.h"
#include "btVehicleRaycaster.h"
#include "btWheelInfo.h"
#include "LinearMath/btMinMax.h"
#include "LinearMath/btIDebugDraw.h"
#include "BulletDynamics/ConstraintSolver/btContactConstraint.h"
Go to the source code of this file.
Classes | |
struct | btWheelContactPoint |
Macros | |
#define | ROLLING_INFLUENCE_FIX |
Functions | |
btScalar | calcRollingFriction (btWheelContactPoint &contactPoint, int numWheelsOnGround) |
Variables | |
btScalar | sideFrictionStiffness2 = btScalar(1.0) |
#define ROLLING_INFLUENCE_FIX |
Definition at line 25 of file btRaycastVehicle.cpp.
btScalar calcRollingFriction | ( | btWheelContactPoint & | contactPoint, |
int | numWheelsOnGround | ||
) |
Definition at line 462 of file btRaycastVehicle.cpp.
References btSetMax(), btSetMin(), btVector3, btRigidBody::getCenterOfMassPosition(), btRigidBody::getVelocityInLocalPoint(), btWheelContactPoint::m_body0, btWheelContactPoint::m_body1, btWheelContactPoint::m_frictionDirectionWorld, btWheelContactPoint::m_frictionPositionWorld, btWheelContactPoint::m_jacDiagABInv, and btWheelContactPoint::m_maxImpulse.
Referenced by btRaycastVehicle::updateFriction().
Definition at line 487 of file btRaycastVehicle.cpp.
Referenced by btRaycastVehicle::updateFriction().