ejcoumans
685138d033
include paths should not be relative starting with "../
...
It leads to problems with certain compilers, when Bullet/src is located in a long pathname.
Keep include path starting with "LinearMath/, "BulletCollision/, or "BulletDynamics/
2007-07-14 05:08:57 +00:00
ejcoumans
2508cef2cf
removed prefix "btHingeConstraint::" in headerfile. Doesn't compile under all platforms. Thanks to Blender community for spotting this.
2007-07-06 20:30:55 +00:00
ejcoumans
e4363b6e2b
added ConstraintSolver/btConeTwistConstraint.cpp to allow for ragdolls
...
improved hinge constraint: adds limits
added btAtan2Fast
quaternion helper functions
All thanks to Starbreeze Studios / Marcus Hennix, Marten Svanfeldt
2007-07-05 23:17:13 +00:00
ejcoumans
5f8873c339
support diamondsubdivision (thanks Jay for contribution)
...
support user-defined broadphase collision filtering (thanks Marten)
make sure btSimpeDynamicsWorld doesn't use cache friendly optimization in the solver (added an assert, and updated BasicDemo)
2007-06-29 22:13:15 +00:00
ejcoumans
bba61c834c
applied some reported bugfixes, angular limit issue, limit scaled from -2.0 -> -1.0
2007-06-23 00:54:08 +00:00
ejcoumans
82c8687881
- initialize m_unusedW to avoid some warnings.
...
- added angularFactor to 'cachefriendly' constraint solver
2007-04-23 10:52:38 +00:00
ejcoumans
bc3f9535ad
cleaned up, removed warning under MSVC2005 (Level 4)
...
Mostly related to alignment and unused variables
2007-04-13 01:37:21 +00:00
ejcoumans
853bafb7ae
Get the open source Bullet library more in sync with Playstation SPU version
2007-04-10 01:02:58 +00:00
ejcoumans
4c637bf19e
added btSolverConstraint.h with proper case (for case sensitive systems)
2007-03-21 15:29:50 +00:00
ejcoumans
6590f4faa4
2007-03-21 15:28:57 +00:00
ejcoumans
c1a54d9edc
Attempts to improve performance. Not much gain yet, but good to experiment what has effect and what hasn't.
...
Added 'DO_BENCHMARK_PYRAMID' to CcdPhysicsDemo.
2007-03-20 20:12:23 +00:00
ejcoumans
f8fe7e8f2d
renamed solverbody, more work will be committed soon, please stay tuned.
2007-03-20 06:15:12 +00:00
ejcoumans
3835e5296b
2007-03-20 06:14:43 +00:00
ejcoumans
f199cd1347
make visual studio 6 compile again
2007-03-20 05:06:01 +00:00
sjbaker
6b102c65b3
Cleanup some trivial compilation warnings.
2007-03-19 04:27:59 +00:00
ejcoumans
b8ce13adb1
bugfix, also convert rigidbody into solverbodies for constraints (without contact manifolds), and do additional check for validity
2007-03-17 08:29:05 +00:00
ejcoumans
2b87104184
more solver optimizations, can be disabled using solver->setSolverMode(SOLVER_RANDMIZE_ORDER)
2007-03-17 07:59:27 +00:00
ejcoumans
151cd4b9da
prepare and added constraint solver optimizations, not activated yet.
2007-03-17 00:09:12 +00:00
ejcoumans
adfdea5ca6
replaced #include "new.h" to #include <new>
2007-03-06 23:40:06 +00:00
ejcoumans
054d672592
- removed STL from the Bullet library: replace std::vector by btAlignedObjectArray. Also removed the std::set for overlapping pair set, and turned it into an overlapping pair array. The SAP only adds objects, never removed. Removal is postponed for during traversal of overlapping pairs (duplicates and non-overlapping pairs are removed during that traversal).
...
- added heap sort and binary search/linear search to btAlignedObjectArray
- fixed wrong cast, thanks Hamstray, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1015
2007-03-06 09:59:17 +00:00
ejcoumans
b73900bc60
Improved performance of convex collision shapes, cache local AABB instead of recomputation. This fixes issue with very slow performance in larger .bsp levels.
...
Moved some asserts into 'btFullAssert', which is disabled by default (see btScalar.h to enable them). This is to speed-up debugging.
2007-02-26 04:59:05 +00:00
ejcoumans
bf68a742cc
by default, disable warmstarting, enable random ordering,
...
user can override this using solver->setSolverMode(...)
2007-02-13 16:14:55 +00:00
sjbaker
e9b21e21a6
Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.
...
Includes of files in the local hierarchy must not use <...> please stick with "..."
2006-12-26 15:33:28 +00:00
ejcoumans
df9230327c
Contribution to add optional double precision floating point support. Define BT_USE_DOUBLE_PRECISION for all involved libraries/apps.
2006-12-16 05:51:30 +00:00
ejcoumans
6dff5a218e
process contact and non-contact constraints inside the same iteration loop
...
added first draft for hingeConstraint motor
2006-12-12 03:15:11 +00:00
ejcoumans
6738ed329d
ASSERT -> btAssert
...
Added btStackAlloc to Bullet (right now only used by btGjkEpa)
removed default constructors of btCollisionWorld/btDiscreteDynamicsWorld, to reduce link-time dependencies
2006-11-29 01:52:09 +00:00
ejcoumans
7dc6aa215a
some more fixes to get msvc6 happy, and constraint solver: make non-randomizing solver default
2006-11-23 02:57:38 +00:00
ejcoumans
f4e8bf70c5
updated rotational-only hinge
2006-11-21 01:41:21 +00:00
ejcoumans
c801569644
updated rotational-only hinge
2006-11-21 01:38:18 +00:00
sjbaker
04d41b7a0a
Cleanup compilation warnings.
2008-02-12 04:22:31 +00:00
ejcoumans
b07bb88a2d
Added new EPA penetration depth solver
...
improved gjk/minkowski sampling pd method
added original solver variant, use btSequentialImpulseConstraintSolver2
Added Pierre Terdimans PD testbed
2006-11-16 06:14:12 +00:00
ejcoumans
438230b95b
added proper clipping of angular limits in generic d6 ConstraintSolver/btGeneric6DofConstraint.cpp
...
added trianglebuffer (easier GIMPACT integration)
2006-11-10 22:56:45 +00:00
ejcoumans
56e135874b
added angular limits to the Generic D6 constraint. Works for small angles. Will add a check for different combinations, and use different extraction of ordering of rotation from the diff quaternion.
...
Improved vehicle interpolation of wheels, and added Z-up axis option for the Demo
made 'getWorldTransform' const method in btMotionState
added future 'deactivationCallback'(not used yet)
2006-11-10 04:00:16 +00:00
ejcoumans
db65601f9a
added LCP clamp for linear limit on the generic D6 joint
2006-11-07 22:11:15 +00:00
ejcoumans
c3ed55057c
- added linear limits to btGeneric6DofConstraint and made sure the linear axis are in local space of objectA
...
- use microseconds instead of milliseconds for deltatime
2006-11-07 02:32:52 +00:00
sjbaker
6c61060339
Cleaned up some compile-time warnings.
2006-11-04 15:34:56 +00:00
ejcoumans
23c64fb0db
more solver experiments, randomize the order of contact points, not just manifolds
...
use #defines for constants, rather then const btScalar
2006-11-04 05:22:36 +00:00
ejcoumans
07873854a4
more small refactoring: some methods were still upper-case.
2006-11-03 04:32:48 +00:00
ejcoumans
4050da0e2f
One of the last parts of the refactoring (hopefully), made most members of btCollisionObject protected.
...
Also did some work on improving the constraint solver.
2006-11-02 03:42:53 +00:00
ejcoumans
3fe3b11924
use Dispatcher in ConcaveConvexCollisionAlgorithm (so it uses the registered collision algorithm, not hardcoded convexconcave)
...
improved performance of constraint solver by precalculating the cross product/impulse arm
added collision comparison code: ODE box-box, also sphere-triangle
added safety check into GJK, and an assert for AABB's that are very large
write partid/triangle index outside of GJK
2006-10-28 02:06:19 +00:00
ejcoumans
ce627a8b2a
doxygen comments
2006-10-06 21:57:10 +00:00
ejcoumans
70e5fcf024
doxygen comments
2006-10-06 21:56:39 +00:00
ejcoumans
bf847b839a
another large series of changes, related to the refactoring.
...
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
2006-10-06 05:22:13 +00:00
ejcoumans
323a1046fd
Cleaned up/simplified construction of a btRigidBody
...
Fixed memoryleak in btOptimizedBvh (delete []m_contiguousNodes;)
Changed DemoApplication::localCreateRigidBody, so it adds the rigidbody to the btDynamicsWorld.
Added check for duplicate objects in world when adding.
Added assert to prevent setLinearVelocity on static rigidbodies
Added btCollisionFilterGroups to btBroadphaseProxy
removed duplicate 'btBroadphaseProxy* m_broadphaseProxy;' in btRigidBody
2006-10-04 23:46:27 +00:00
ejcoumans
2b1657b1dd
Refactoring: another huge number of changes, renamed methods to start with lower-case.
2006-09-28 01:11:16 +00:00
ejcoumans
eb23bb5c0c
merged most of the changes from the branch into trunk, except for COLLADA, libxml and glut glitches.
...
Still need to verify to make sure no unwanted renaming is introduced.
2006-09-27 20:43:51 +00:00
ejcoumans
0e04cfc806
First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
...
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00