Commit Graph

17 Commits

Author SHA1 Message Date
ejcoumans
2d80bae6e3 fairly large refactoring of dispatcher/simulation island management, to allow for parallel simulation. 2006-07-01 00:22:15 +00:00
ejcoumans
3a85557c29 Refactoring for parallel processing of islands, collision detection and constraint solving. 2006-06-30 00:41:09 +00:00
ejcoumans
9105c3af5a Refactoring:
Moved optional code to Extras: AlgebraicCCD,EPA,quickstep
Moved SimpleBroadphase data to OverlappingPairCache, and derive both SimpleBroadphase and AxisSweep3 from OverlappingPairCache.
Added ParallelPhysicsEnvironment (prepair more parallel mainloop)
Upgraded hardcoded limit from 1024/8192 to 32766/65535 (max objects / max overlapping pairs)
2006-06-29 20:57:47 +00:00
ejcoumans
7e9aa9d5f8 added notice that CompoundShape is placeholder, not implemented yet 2006-06-25 21:27:31 +00:00
ejcoumans
35c2da987e preparation for compound collision shapes 2006-06-25 19:53:07 +00:00
ejcoumans
93fda830d4 accidently made CollisionGroup filter/mask int, instead of short int 2006-06-25 19:40:59 +00:00
ejcoumans
c8a0c95195 added basic collision filtering, in broadphase. more advanced collision filtering should happen in CollisionDispatch::NeedsCollision
fixed CcdPhysicsDemo: don't pick static objects, it create a point 2 point constraint, which assert in jacobian generation
2006-06-25 19:36:50 +00:00
ejcoumans
09aeefe029 Allow multiple meshes to be used in the TriangleIndexVertexArray (this name is bad, is should be 'MeshArray'.
Renamed some 'box' into 'convex' in ConvexConcaveCollisionAlgorithm (it is generic for all convex objects, not for boxes).
2006-06-25 14:50:38 +00:00
ejcoumans
2eed545a70 enable to suspend and restore dynamics. also, catched the case where failed dynamics (resulting in infinite AABB sizes) doesn't mess up the entire simulation, it just get's deactivated (with a message that a simulation error happened) 2006-06-22 03:00:43 +00:00
ejcoumans
c5fdd98330 printf for debugging requires stdio.h 2006-06-21 21:04:01 +00:00
ejcoumans
94e94e995f enabled early exit for GJK 2006-06-21 05:35:16 +00:00
ejcoumans
51a645bb4a constraints between bodies merge constraint simulations (this fixes problems with deactivation/sleeping) 2006-06-17 15:22:06 +00:00
ejcoumans
b4df21acb5 added cylinder support in ColladaDemo, rendering of Cylinder, updated .dae files. 2006-06-09 00:17:20 +00:00
ejcoumans
e31711a4d9 try to catch a rare failure case (debugmode-printf) 2006-05-26 20:25:18 +00:00
ejcoumans
2529aebc79 this should not be necessary, but it happened. todo: why doesn't gjk terminate. there are 2 rare cases, one with 'nan'/undefined separating axis/distance, and another with rather big distances. 2006-05-26 19:47:46 +00:00
ejcoumans
39c5f29fd0 added new convex trianglemesh shape 2006-05-26 00:30:16 +00:00
ejcoumans
e061ec1ebf moved files around 2006-05-25 19:18:29 +00:00