Commit Graph

829 Commits

Author SHA1 Message Date
erwin.coumans
ac3d52d81b bugfix in aabb expansion, causing the convexSweepTest to fail in certain cases
(when the AABB is not symmetric around the origin)

Thanks to fishboy82 for the report and fix:
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4484
http://code.google.com/p/bullet/issues/detail?id=322
2009-12-22 21:19:41 +00:00
erwin.coumans
71a7da86e2 Use CreateEventA instead of CreateEvent to avoid breaking unicode builds.
Thanks  tom@sickheadgames.com for the report/fix, see Issue 320
2009-12-21 23:57:54 +00:00
erwin.coumans
b5218f3ca7 removed normalize (btAcos has clamping) and removed assert in btAcos. 2009-12-21 23:43:59 +00:00
erwin.coumans
db25e21fde added isZero and fuzzyZero to btVector3
Thanks jazztickets for the report, see Issue 145
2009-12-21 23:13:11 +00:00
erwin.coumans
b0e6e2f412 Expose vehicle maxSuspension force (instead of hard-coded 6000 value).
Thanks blakflow for the patch, see Issue 290
2009-12-21 22:59:12 +00:00
erwin.coumans
d68521803f updated vectormath (minor fixes, including a bugfix in storeXYZ) 2009-12-19 02:08:44 +00:00
erwin.coumans
fa778a649c Avoid introducing virtual method to non-virtual classes, just for serialization 2009-12-18 22:05:11 +00:00
erwin.coumans
7eff49286c Avoid introducing virtual method to non-virtual classes, just for serialization
Applied a LHS fix (although no real impact on performance on PS3), thanks to holorose see Issue 321
2009-12-18 22:04:58 +00:00
erwin.coumans
4f2ad3a3ad applied patch for compound shape in SpuGatheringCollisionTask, see Issue 313
http://code.google.com/p/bullet/issues/detail?id=313

Thanks Bbilz for the report and fix!
2009-12-18 01:20:57 +00:00
erwin.coumans
6bf3988837 SetLocalScaling propagates to btCompoundShape children now. Note that this issue might affect shared child shapes.
See also Issue 96
http://code.google.com/p/bullet/issues/detail?id=96

Thanks chucksspencer for the patch
2009-12-18 01:13:33 +00:00
erwin.coumans
fcd2b93a22 fix in box-box contact generation: choose better contact point location (along contact normal) when objects are swapped.
move debugDrawWorld to btCollisionWorld.
improved CollisionInterfaceDemo, show how to perform a closest point query for objects that are not in the collision world.
removed a bit of garbage from the debug drawer
2009-12-18 00:54:52 +00:00
erwin.coumans
0c85c74bae removed stack allocator (was unnecessary/unused)
Thanks to Brecht for the report: http://code.google.com/p/bullet/issues/detail?id=303
2009-12-13 20:48:52 +00:00
erwin.coumans
d7a07e9745 Make 'randomizeConstraints' optional, switched on by default (to keep existing behaviour)
Thanks Benoit for the report: http://code.google.com/p/bullet/issues/detail?id=315
2009-12-13 20:37:09 +00:00
erwin.coumans
6536d8cc31 Added option to install 'Extra' libs, turned off by default (BulletMultiThreaded, OpenGL, COLLADA_DOM, libxml,BulletColladaConverter)
Thanks xenonofarcticus, for the patch: http://code.google.com/p/bullet/issues/detail?id=294
2009-12-13 20:30:29 +00:00
erwin.coumans
0a6f7b271d make relative contact breaking threshold optional (use dispatcher->setDispatcherFlags(0) to turn off feature) 2009-12-13 20:22:21 +00:00
erwin.coumans
8444d0e5c4 Fix shapekey swapping issue with triangle meshes, see http://code.google.com/p/bullet/issues/detail?id=316
Revert btHashKeyPtr and introduce btHashPtr (to avoid breaking API/COLLADA Converter), see http://code.google.com/p/bullet/issues/detail?id=318
Disable separating distance util (it just costs CPU cycles and is disabled by default in the API anyway)
2009-12-13 15:40:21 +00:00
erwin.coumans
91f1e8117b Add serialization for btRigidBody (all work-in-progress) 2009-12-09 14:11:13 +00:00
erwin.coumans
3edd806b88 Binary serialization in the .bullet file format (work-in-progress) 2009-12-08 18:02:37 +00:00
john.mccutchan
385c16e309 Remove calls to AC_PROG_CC and AC_PROG_CXX from CS_PROG_CC and CS_PROG_CXX because we call those functions earlier. 2009-12-03 16:52:41 +00:00
rponom
0d80aa855e Improved math precision for btHingeConstraint and btSliderConstraint (btAtan2() used instead of btAtan2Fast()) 2009-12-02 00:53:53 +00:00
rponom
f919baf03d Improved Slider, Hinge and Generic6DOF constraint setup.
Turned on by default, use m_useOffsetForConstraintFrame = false to use old setup
Use "O" (capital 'o') button to toggle it in SliderConstraintDemo and ConstraintDemo

Total applied impulse copied back from btSolverConstraint to btTypedConstraint
2009-11-25 23:52:12 +00:00
erwin.coumans
d96818d994 minor fixes in cmake build system, they caused troubles with CMake 2.8 and Xcode 2009-11-17 02:45:37 +00:00
erwin.coumans
f59ad619a2 Disable BulletMultiThreaded, Gpu2dDemo, Gpu3dDemo, MiniCL_VectorAdd, they are currently not supported for 64bit platforms. 2009-11-06 00:36:30 +00:00
rponom
da9937e06e Bug in btGeneric6DofSpringConstraint::setEquilibriumPoint(int index) fixed 2009-11-05 18:34:19 +00:00
erwin.coumans
992c5eafa4 improvements in slerp
thanks to Tully Foote:

http://code.google.com/p/bullet/issues/detail?id=140

minor warning fix in btHashMap.h
2009-11-03 06:22:51 +00:00
erwin.coumans
836234696d applied patch removing some virtual calls in 'findUnions'
thanks to holorose for the patch
http://code.google.com/p/bullet/issues/detail?id=295
2009-11-03 06:06:56 +00:00
erwin.coumans
4c3af9c95f use LIB_SUFFIX to install under lib${LIB_SUFFIX}, for example /usr/lib64
Thanks to brumahe for the patch
http://code.google.com/p/bullet/issues/detail?id=174

compile BulletMultiThreaded also on  64 bit
2009-11-03 06:01:00 +00:00
erwin.coumans
73250b4be2 make the menus compile on both (Snow) Leopard and iPhone 2009-11-03 05:25:48 +00:00
erwin.coumans
5acda2d06c move an __SPU__ conditional around the virtual methods, we need some of the other inline methods. 2009-10-21 19:47:52 +00:00
erwin.coumans
d07b7ef3fa added a few methods for better vector_math compatibility with PS3 SDK version 2009-10-20 20:36:58 +00:00
erwin.coumans
f3525c3a86 make the btAcosf/btAsinf fix multi-line to make it easier to put breakpoints.
fix a memory leak issue with ColladaConverter (keep track of the btTriangleMesh containers)
2009-10-09 23:53:18 +00:00
erwin.coumans
703582f4fa apply fix for btAcosf/btAsinf (numerical issue causes values of X become slightly larger than 1 or smaller than -1, causing NaNs)
manually add some missing files to msvc projectfiles for now
fix in box-box collision detector, preventing it to fail in some rare cases
remove redundant line in btHingeConstraint, thanks to teravus
fix mouse drag camera rotation issue (modulo 360 instead of 180)
2009-10-09 23:35:00 +00:00
erwin.coumans
a482ebb7ab added missing global callback reference 2009-09-24 16:39:10 +00:00
erwin.coumans
da4a1b14b5 Add support for target motion and slip/cfm for both friction directions.
It can be handy for effects such as powered conveyor belt effect or sideways slipping tyre friction.
2009-09-18 07:48:15 +00:00
erwin.coumans
49474da938 update of ChangeLog 2009-09-17 22:48:07 +00:00
erwin.coumans
36de6fefbb updated autotools with missing files 2009-09-17 22:10:13 +00:00
erwin.coumans
0d0da7ae4e minor fixes in GLDebugFont.cpp
update automake Makefile.am, add some missing files such as btActionInterface.h
http://code.google.com/p/bullet/issues/detail?id=258
unix line endings for install-sh
2009-09-17 22:02:11 +00:00
erwin.coumans
172b87188b install BulletCollision/btBulletCollisionCommon.h and BulletDynamics/btBulletDynamicsCommon.h (but also keep the file in the root destination)
Thanks to ejtttje
http://code.google.com/p/bullet/issues/detail?id=265
2009-09-17 21:33:29 +00:00
erwin.coumans
6bf2d3388a Add docs in INSTALL file
http://code.google.com/p/bullet/issues/detail?id=278
Fix warning in btHashMap.h
http://code.google.com/p/bullet/issues/detail?id=276
Thanks both to ejtttje
2009-09-17 21:21:17 +00:00
erwin.coumans
e8177a4fb3 applied fix for 64bit detection, thanks to ejtttje
http://code.google.com/p/bullet/issues/detail?id=277
2009-09-17 21:17:25 +00:00
erwin.coumans
dcfb23dc13 update build for btConvex2dShape functionality
use btDbvtBroadphase in HelloWorld demo, it is the recommended broadphase
2009-09-17 20:17:14 +00:00
erwin.coumans
f65e829ca0 Add support for generic 2d convex shapes, through wrapper class btConvex2dShape. See Bullet/Demos/Box2dDemo for example wrapping a btCylinderShape and 2d btConvexHullShape.
Add some extra degeneracy debugging check in btGjkPairDetector
2009-09-17 19:45:22 +00:00
erwin.coumans
3da9c832ae Initialize the world transform to identity for btCollisionObject/btRigidBody.
Some developers only initialize the world position, and not the orientation -> uninitialized data. 

We should probably add some warning in btTransform, in debug mode. Note we don't initialize btTransform/btQuaternion/btVector3/btMatrix3x3 default constructor, for performance reasons.
2009-09-16 17:56:12 +00:00
erwin.coumans
49a0b479c6 Switch off an optimization by default, to avoid support burden: update all objects AABBs and not just the active objects.
Call world->setForceUpdateAllAabbs( false) to re-enable the optimization: it will only update active objects (skipping static geometry)
See also http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=4073
2009-09-11 19:18:37 +00:00
erwin.coumans
ed09140fb7 remove some warnings, thanks to Zenja http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=4063 2009-09-09 23:51:30 +00:00
erwin.coumans
659b215a69 Override btCollisionWorld::addCollisionObject with flags more appropriate for btDynamicsWorld (StaticFilter)
Minor fixes (#ifndef SPU_COLLISION_OBJECT_WRAPPER_H block etc)
Only update 'setNumTasks' when necessary
Revert vectormath.h include (can't resolve conflicts with PS3 SDK, need additional #include path)
2009-09-09 22:49:43 +00:00
erwin.coumans
df550730da include relative full path for vectormath_aos.h, and fix minor typo in glut.h 2009-09-07 17:42:12 +00:00
erwin.coumans
819622fbe8 delete obsolete SpuRaycast files, attempt to get demos to compile/run under 64bit glut. 2009-09-06 23:01:49 +00:00
erwin.coumans
4e2cef2c69 removed SpuRaycaster and SpuParallelSolver, both were obsolete: slow, broken and unsupported 2009-09-06 20:58:40 +00:00
erwin.coumans
2d1777c899 Avoid collision detection/response between anchored (static) soft body cluster and a static/kinematic rigid body 2009-08-31 04:35:06 +00:00