See for example btKinematicCharacterController::stepDown:
btVector3 step_drop = btVector3(btScalar(0.0), m_currentStepOffset,
btScalar(0.0));
btVector3 gravity_drop = btVector3(btScalar(0.0), m_stepHeight,
btScalar(0.0));
m_targetPosition -= (step_drop + gravity_drop);
We should allow to configure the up-axis, either through a #define (similar
to btRaycastVehicle), or using a member variable (similar to
btCylinderShapeX etc).
Original issue reported on code.google.com by erwin.coumans on 7 Jan 2009 at 8:24
Original issue reported on code.google.com by
erwin.coumans
on 7 Jan 2009 at 8:24