Commit Graph

1868 Commits

Author SHA1 Message Date
lawrence.bullet
59fa35fcd6 changed a couple maya typeIds to valid ids. fixed example scene files 2009-12-02 23:04:47 +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
eea73bc76a more fixes to get cmake 2.8 to create Xcode projects 2009-11-17 03:09:14 +00:00
erwin.coumans
f4c4e91904 more cmake fixes 2009-11-17 03:03:27 +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
7b4bfcbcab some compile fixes in debug font rendering 2009-09-29 02:12:40 +00:00
erwin.coumans
ebd44c1cd2 updated new DialogDynamicsWorld GUI to compile and run on Mac OS X. 2009-09-26 19:58:37 +00:00
erwin.coumans
2f4f468f4d Created basic physics-based OpenGL menu dialog system, with toggle/text and slider control. 2009-09-26 01:44:09 +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
9430a2202c updated ChangeLog 2009-09-17 20:36:18 +00:00
erwin.coumans
c710623bc8 update autogenerated projectfiles 2009-09-17 20:27:53 +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
dd65ef3a8a fix some compile errors in Extras/CDTestFramework (cross/dot are no longer global functions) 2009-09-11 22:15:55 +00:00
erwin.coumans
151082597d Missed a version tag in CMakeLists.txt 2009-09-11 19:21:29 +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
cc5ba4608f use pre-tick callback to update motor targets in DynamicControlDemo: dynamicsWorld->setInternalTickCallback(callbackFunc,void* userPtr=MotorDemo,bool pretick=true 2009-09-09 23:23:22 +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
52971076f5 updated Mac OSX projectfile for Bullet/Extras/AllBulletDemosOSX 2009-09-07 00:53:20 +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
86518d9aed removed SpuRayCaster and SpuConstraintSolver from autogenerated msvc project files 2009-09-06 21:15:09 +00:00
erwin.coumans
3fc4482f3b update ChangeLog for Bullet 2.75 improvements 2009-09-06 21:11:01 +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
erwin.coumans
2ef7c1a457 Fixes / improvements in soft body:
avoid blow-up due to improper mass calculation for fixed nodes (happened when using clusters)
allow to create collision clusters for each tetrahedron or triangle, when using btSoftBody::generateClusters(0)
tweak soft body demos a bit, only draw debug wireframe if necessary
2009-08-28 21:23:54 +00:00
erwin.coumans
f492899499 Added example of tetrahedral (volumetric) softbodies
Keep camera distance positive when using mouse zoom
Updated autogenerated msvc projectfiles
Added glut 64 bit support
2009-08-27 18:39:17 +00:00
erwin.coumans
f82cfc8259 dd pthread to MiniCL_VectorAdd project, for Unix 2009-08-26 19:50:35 +00:00
erwin.coumans
c6493bb049 Added specialized capsule-capsule collider. Should improve ragdoll collision performance
See also http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3930
To disable it, define BT_DISABLE_CAPSULE_CAPSULE_COLLIDER in the build system
2009-08-20 21:08:38 +00:00
erwin.coumans
bbeac75d93 Added minor utility method for btHashMap, btHashString 2009-08-18 23:40:51 +00:00