ejcoumans
f199cd1347
make visual studio 6 compile again
2007-03-20 05:06:01 +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
ea97ed3e30
fix in template usage, error only reported on Sun Solaris ?!?
...
Thanks Noerghel for reporting!
2007-03-13 15:21:01 +00:00
ejcoumans
8fd8a85eee
fixed memory leak, thanks AshMcConnell for reporting!
...
http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1009
2007-03-06 16:44:22 +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
9b94416d61
allow single raycast to be performed on objects
2007-02-14 04:09:17 +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
24691e8eb8
reverted jam buildsystem, until changed for make is working,
...
minor fix in island processing
2006-12-25 20:39:39 +00:00
sjbaker
db573e4a59
Clean up about a bazillion compilation warnings.
2006-12-22 02:33:42 +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
df0c044228
removed obsolete code, added #ifdef to allow skipping of default registration of collision algorithm (avoid linking of unneeded code)
2006-12-13 22:44:20 +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
bf591b44ec
Replaced most STL std::vector with btAlignedObjectArray.
...
Same interface but less features (push_back, pop_back, clear, size, [] etc).
To prepare for SIMD/SSE code: Added #define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
2006-12-06 04:22:36 +00:00
ejcoumans
b6d1b4c94e
Added btNearCallback. This is similar to Open Dynamics Engine (ODE) dNearCallback, but important differences:
...
- contact points are persistent (lifetime more then one frame, for warmstarting/incremental contact point management)
- continuous collision detection, time of impact
Added btRigidBody::isInWorld(), returns true if btRigidBody is inside a btCollisionWorld/btDynamicsWorld derived class
Added angularFactor to btRigidbody, this helps some character control (no angular impulse applied)
2006-12-04 15:42:03 +00:00
ejcoumans
71145de242
renamed ConcaveShape to btConcaveShape
...
added btHeightfieldTerrainShape (not done yet)
2006-11-29 02:11:25 +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
0757f1fe9e
add 'force activate', for static/kinematic objects that get moved.
...
fixed some activation issues with kinematic objects
2006-11-21 13:00:18 +00:00
sjbaker
04d41b7a0a
Cleanup compilation warnings.
2008-02-12 04:22:31 +00:00
ejcoumans
5a28e96a38
Added a more reliable EPA penetration depth solver, contributed by Nathanael Presson.
2006-11-15 15:40:24 +00:00
ejcoumans
6bc090fd28
2006-11-14 05:36:30 +00:00
ejcoumans
be175e888e
2006-11-14 05:09:11 +00:00
ejcoumans
5102b7ac60
added very basic debug drawing for vehicle wheels, and updated raycast in world to do ray-aabb instead of aabb-aabb
2006-11-09 04:43:18 +00:00
ejcoumans
6d47d9492e
added non-uniform scaling to btMultiSphereShape
...
added ray-aabb check
modified Raycast demo to be more useful for debugging collision shapes
2006-11-09 01:58:33 +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
d1a1b3d492
fixes to allow applying impulses during interpolated timesteps (avoid visual discontinuities)
...
experimental jitter removal (doesn't work very well yet)
2006-10-30 19:37:08 +00:00
ejcoumans
b14ccdaa57
rename treshold into thresold (spelling mistake)
...
added cr/linefeed at end of btDefaultMotionState.h
2006-10-30 05:06:46 +00:00
ejcoumans
dd8297c86e
refresh contact points, even when they are already persistent. needs a bit more work (a 'replacedContactCallback' where optionally the user can carry over the persistent contact data)
2006-10-30 04:51:17 +00:00
ejcoumans
d6c6cbaee6
enabled the vehicle demo again (still needs lots of tuning before it drives well)
...
fixed some warnings
2006-10-29 03:36:16 +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
e2093823ff
fixed check for response (no static/kinematic, rather then 'active')
2006-10-21 16:34:36 +00:00
ejcoumans
289c5ca7fe
improvements/bugfixes related to kinematic(animated) objects, synchronizeMotionStates
2006-10-19 15:20:38 +00:00
ejcoumans
33b3ec94f1
more fixes, related to introduction of btMotionState, and using realtime timestep
2006-10-18 04:01:07 +00:00
ejcoumans
3a6942fb91
processed a lot of feedback: added 'realtime' simulation with fixed substeps (and clamping maximum number of substeps), this means that when stepSimulation is called with smaller timesteps then 'fixed substep' the motionstate is interpolated.
...
renamed m_ccdSweptSphereRadius,
enabled wireframe debugDrawObject (using debugDrawer)
2006-10-18 03:28:42 +00:00
ejcoumans
f3eb3cfa37
Added a very basic dynamics demo, only using spheres (and optionally boxes)
2006-10-09 20:41:18 +00:00
ejcoumans
2832300435
doxygen tags
2006-10-06 22:12:17 +00:00
ejcoumans
831636af25
doxygen comments
2006-10-06 22:03:04 +00:00
ejcoumans
7f8345f0e9
doxygen comments
2006-10-06 22:02:34 +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
sjbaker
2aaab1ab1a
Assorted cleanup of compilation warnings. Also fixed some actual errors:
...
#include "renderTexture.h"...when the file is actually called 'RenderTexture.h'.
2006-10-01 00:08:09 +00:00
ejcoumans
01a6290cf7
more refactoring, restored some profiling and some debugging
2006-09-30 02:26:51 +00:00
ejcoumans
d38549aa54
more refactoring, removed PhysicsInterface, cleaned up demos to make use of btDynamicsWorld derived classes.
...
removed two cached optimizations, type in btTransform and cached inverse transform (todo: test performance impact)
committed fixes that make the code adhere to 'who creates it, also destroys it'
2006-09-30 01:36:39 +00:00
ejcoumans
14397a2f72
confusion about memory management, and removed obsolete PhysicsInterface code.todo: updated the demos that still use this code
2006-09-29 19:57:23 +00:00
ejcoumans
21482e4cab
some minor comment-renames, and moved some data from box/sphere into common convex.
2006-09-28 20:14:10 +00:00
ejcoumans
153ffcda52
more refactoring: fixed conventions in this class
2006-09-28 01:46:36 +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
d0f09040e9
fixed some merging conflicts
2006-09-27 20:58:49 +00:00