Thanks tbp for more details on reproducing case.
- Fixed issue with full 32bit integers in btAxisSweep3 (define BP_USE_FIXEDPOINT_INT_32), it used only 65536 for quantization, it should use full integer space (0xffffffff)
- Added 'getForwardVector' and getCurrentSpeedKmHour utility functions to btRaycastVehicle
- Fixed local scaling issues (btConvexTriangleMeshShape, btBvhTriangleMeshShape, removed scaling from btMatrix3x3). Thanks Volker for reporting!
- Added second filename search, so that starting BspDemo and ConvexDecompositionDemo from within Visual Studio (without setting the starting path) still works
I need to revert all those back (after Steve Bakers changes a while back).
All includes should really be relative to the 'src' folder, or wherever the developer copies all the headerfiles.
Thanks Jay for reporting
Added braking capability to btRaycastVehicle, see Bullet/Demos/VehicleDemo/VehicleDemo.cpp
Added glutKeyboardUpFunc, for vehicle demo (keep accelerating/breaking, until key released/UP). Hope this is compatible with most GLUT implementations.
btCollisionWorld.h line 139 (version 2.48) it reads:
m_localShapeInfo(m_localShapeInfo),
which should be:
m_localShapeInfo(localShapeInfo),
Thanks frinkiac8
sortedConstraints.heapSort(btAlignedObjectArray<btTypedConstraint*>::less());
should be
sortedConstraints.heapSort(btSortConstraintOnIslandPredicate);
Thanks Clemens Unterkofler for pointing this out!
btFullAssert ( yadda_yadda ) ;
...in the btScalar.h header, it's defined as:
#define btFullAssert
...which means that the statement above becomes:
( yadda_yadda ) ;
...which means that code may actually be compiled and executed (unnecessarily) - and even when the code is something simple like:
( i > 0 && i < 3 ) ;
...the GCC tosses out a 'statement with no effect' warning - before
it optimises away the code.
The fix is:
#define btFullAssert(x)
...so that the macro still takes a parameter which is now removed
from the sources so you get:
;
...which is guaranteed not to generate code.
Original aabb nodes are 44 bytes (with full floating point precision and additional part index)
- added meter-unit scaling support in ColladaConverter.cpp
eg:
bulletmath_suffix="-lbulletmath"
bulletcollision_suffix="-lbulletcollision"
bulletdynamics_suffix="-lbulletdynamics"
dnl Check bulletmath library
AC_CHECK_LIB(bulletmath, btBulletMathProbe, true,
AC_MSG_ERROR([there seems to be a problem with the bulletmath library]))
LIBS="$bulletmath_suffix $LIBS"
dnl Check bulletcollision library
AC_CHECK_LIB(bulletcollision, btBulletCollisionProbe, true,
AC_MSG_ERROR([there seems to be a problem with the bulletcollision library]))
LIBS="$bulletcollision_suffix $LIBS"
dnl Check bulletdynamics library
AC_CHECK_LIB(bulletdynamics, btBulletDynamicsProbe, true,
AC_MSG_ERROR([there seems to be a problem with the bulletdynamics library]))
LIBS="$bulletdynamics_suffix $LIBS"