erwin.coumans
b80e5fd167
Remove co-planar faces from convex hull, using 2d Graham scan
...
Improve SAT performance, by skipping back-facing features
Add assert in array class (probably fires in places)
2011-05-20 12:29:24 +00:00
erwin.coumans
cdddf9d25a
add FractureDemo to AllBulletDemos
...
improvements in CCD handling
some cleanup of CcdPhysicsDemo and BasicDemo
2011-04-09 01:14:21 +00:00
erwin.coumans
a4e8213ede
Implemented btDiscreteDynamicsWorld::addSpeculativeContacts, using conservative advancement to find contact point ahead of time
...
make Extras/ConvexDecomposition thread safe, Issue 501
some improvements to the btInternalEdgeUtility, patch from Issue 501
2011-04-07 06:23:34 +00:00
erwin.coumans
5cee553a96
convexSweepTest: don't report hits if 'needsContactResponse' reports false.
...
Should fixes Issue 197
2011-03-31 21:20:52 +00:00
erwin.coumans
dd7ee6919e
serialize btGeneric6DofSpringConstraint
...
serialize btSoftBody::Joint
See also Issue 456
2010-12-16 02:35:44 +00:00
erwin.coumans
844a54a409
Fix broken CDTestFramework
...
Avoid crash in BulletWorldImporter, ignoring 'invalid' constraints between two static bodies
Use a bitfield for btCollisionObject::CollisionObjectTypes (to allow custom types that are derived from build-in types such as btRigidBody)
Revert/improve softbody debug rendering
2010-08-15 20:45:55 +00:00
erwin.coumans
6d48fd6172
fix: start with localtime = 0
...
fix: drawSphere function in btIDebugDraw should be virtual
2010-07-22 20:24:03 +00:00
erwin.coumans
79ef84f344
fix Issue 345 with kinematic objects
...
Thanks to nanocell http://code.google.com/p/bullet/issues/detail?id=345
2010-02-23 02:33:11 +00:00
erwin.coumans
45e7c7f564
Add missing files to XCode project
...
Add option to disable SPU collision processing, and add assert to detect unsupported recursive compounds on SPU.
2010-02-17 02:34:26 +00:00
erwin.coumans
7782952d6b
Add a minimum solver 'batch' size to avoid solving many small (independent) islands separately
...
Default size is 128 . Disable feature by using dynamicsWorld->getSolverInfo().m_minimumSolverBatchSize = 1;
2010-02-06 22:21:44 +00:00
rponom
af1dafc659
Fix for the slider constraint (case when useLinearReferenceFrameA == false)
2010-02-04 01:21:45 +00:00
erwin.coumans
58c5630d7f
Add new demos to cmake: SerializeDemo and InternalEdgeDemo
...
Fix in btShapeHull for previous commit
Add support to serialize name for objects
Updated serialization structures.
2010-02-04 01:07:07 +00:00
erwin.coumans
87b313d715
Add flags to btRigidBody to disable world gravity.
...
Use setFlags/getFlags with BT_DISABLE_WORLD_GRAVITY
See http://code.google.com/p/bullet/issues/detail?id=324
2010-02-03 23:58:48 +00:00
erwin.coumans
788f48643b
remove all warnings on Mac OSX Snow Leopard
2010-01-30 22:31:56 +00:00
erwin.coumans
00f58e5a91
added basic serialization for several constraints including btPoint2PointConstraint, btHingeConstraint, btSliderConstraint, btConeTwistConstraint, btGeneric6DofConstraint
...
(no motor support or advanced settings yet)
added btStaticPlaneShape serialization
Added toggle in cmake for BenchmarksDemo to enable/disable graphics rendering
2010-01-27 02:13:56 +00:00
erwin.coumans
0f707603f1
more work on serialization, work-in-progress
2010-01-23 00:04:58 +00:00
erwin.coumans
6af9f9434f
worked a bit more on the serialization, and added a preliminary SerializeDemo.
2010-01-21 00:17:18 +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
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
34699f6de6
+ add option to set pre-tick callback, called at the beginning of each internal simulation step
...
+ use real-time for soft body demo (using this pre-tick callback)
+ optimize the generation of bending constraints for the special case where the distance is 2
2009-08-14 21:36:51 +00:00
erwin.coumans
d7c7c0c9ef
avoid one redundant motionstate synchronization
...
minor warning fix
2009-08-11 23:50:59 +00:00
erwin.coumans
d67aa861f2
Add support for childshape index for btCompoundShape during ContactAddedCallback,
...
see example in Bullet/Demos/ConvexDecompositionDemo
Removed some warnings
2009-08-11 00:30:41 +00:00
erwin.coumans
c4ad354ac0
More GJK degeneracy fixes, thanks Jacob Langford for the feedback:
...
http://code.google.com/p/bullet/issues/detail?id=250
Added missing files for Maya Dynamica plugin
Thanks Herbert Law for the patch, and damrit and others for the report
http://code.google.com/p/bullet/issues/detail?id=231
Fix btQuaternion shortestArcQuat, thanks Stan Melax for original fix and shogun for reminder
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1989
Implemented btDiscreteDynamicsWorld::removeCollisionObject (and btSoftBodyDynamicsWorld) to avoid
crashes. Thanks Jacob Langford for bringing that up.
Minor sphere-debug drawing issue (spheres were drawn inside-out (wrong face winding)
2009-07-13 21:48:19 +00:00
erwin.coumans
6c80353556
Minor fix in friction: calculate second friction direction based on un-scaling first friction direction (issue if it was scaled to zero)
...
Force activation state of static objects to be ISLAND_SLEEPING, once they are added to the world
Add backwards compatibility option btDiscreteDynamicsWorld::setSynchronizeAllMotionStates, just in case only updating active objects broke someones code
Don't disable 3D box-box in box2ddemo
2009-06-11 12:22:41 +00:00
erwin.coumans
3e5fc86a6c
Iterate only over non-static rigid bodies, instead of all collision objects
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=18&t=3625
http://code.google.com/p/bullet/issues/detail?id=128
Attempt to fix issue in mesh striding, multiple-mesh-parts were broken.
2009-06-11 01:25:10 +00:00
erwin.coumans
badf723257
Replace all hardcoded 1e30(f) by BT_LARGE_FLOAT, defined in btScalar.h as 1e18(f) so that its square still fits in FLT_MAX
...
Thanks to Ole K. for reporting! http://code.google.com/p/bullet/issues/detail?id=206
2009-05-23 02:15:54 +00:00
rponom
c680791ce9
3 new constraints added : btGeneric6DofSpringConstraint, btUniversalConstraint, btHinge2Constraint
...
Motors for btConeTwistConstraint added (for obsolete solver only)
appConstraintDemo changed to test new constraints
Several coding-style fixes
2009-05-21 22:10:13 +00:00
erwin.coumans
33029ad996
updated demos -> ALT + mouse uses Maya-style controls, replaced BMF_Fonts by GLDebugFont
...
fix debug drawing of btMultiSphereShape
added box2d demo
added experimental gpu 2d demo
2009-05-09 19:27:14 +00:00
erwin.coumans
90f96aec27
Introduced btActionInterface. This makes it easier to extend user-defined actions, such as vehicles and characters.
...
btRaycastVehicle and btKinematicCharacterController are derived from btActionInterface now.
Some cosmetic cleanup: changed sourceforce/sf.net url to bulletphysics.com.
2009-03-03 16:18:23 +00:00
erwin.coumans
3548c01985
add btCollisionWorld::updateSingleAabb see http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3262
...
Fix memory leak, see http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3266
Change contact breaking threshold
Add 'needsResponse' test for CcdMotionClamping, see http://code.google.com/p/bullet/issues/detail?id=179
Updated user manual (needs lots more work)
Added autoexp.dat, enabled Microsoft Visual Studio debug visualization for btAlignedObjectArray and btVector3.
2009-02-27 02:33:48 +00:00
erwin.coumans
8acadeb711
minor tweaks to demos: enable constraint debug drawing in AllBulletDemos, default constraint debugging size set to 0.3,
...
set svn:eol-style native for folder files
http://code.google.com/p/bullet/issues/detail?id=191
2009-02-18 22:52:03 +00:00
erwin.coumans
d886c06fa5
Add the option for the btSimulationIslandManager to avoid splitting islands (for constraint solving)
...
Move the convertContact inside constraint solver to its own method
2009-02-13 02:34:46 +00:00
erwin.coumans
7a2a98078a
Fixes for broadphase/paircache determinism.
...
Revert definition for ATTRIBUTE_ALIGNED16, and try to force sizeof(btSolverConstraint) by using unions with btScalar, for non-btScalar data types.
Use btAssert and not assert.
Don't access btAlignedObjectArray elements, for zero sets
2009-02-10 23:50:21 +00:00
rponom
2766d19d65
Bug in 6DOF constraint fixed
...
Twist is now locked when twistSpan == 0 for btConeTwistConstraint
Hinge axis for rigidBodyB is no longer flipped
2009-02-06 00:04:32 +00:00
rponom
2f23237185
Improved and more stable btConeTwistConstraint (thanks to Edy Boxerman)
2009-02-04 02:11:45 +00:00
erwin.coumans
d1263be23f
Fix compile error: invalid initialization of non-const reference of type ‘btVector3&’ from a temporary of type ‘btVector3’
2009-01-16 05:21:54 +00:00
rponom
e7ca0e6a9c
Bug in Generic 6DOF joint fixed
...
Debug visualization of joint constraints was added
2009-01-16 03:04:07 +00:00
john.mccutchan
a8ec916af0
Added Height Field Fluid Demo to Bullet. All code stored in the Demos/HeightFieldFluidDemo directory for now.
...
Please see HfFluidDemo.cpp for examples of how to use the height field fluid along with buoyant collision shapes.
The implementation is still lacking in my ways:
1) Need to complete more collision algorithms for buoyant collision shapes
2) Support compound buoyant shapes
3) The buoyancy model isn't that great
4) Fluid volume can be lost over time
2009-01-08 22:53:23 +00:00
erwin.coumans
82047e601e
updated Bullet sequential impulse constraint solver, so it matches 100% ODE PGS quickstep solver innerloop, mainly by renaming variables...
2008-11-26 00:27:35 +00:00
erwin.coumans
5feea39803
Fix compilation for MSVC 6.0 for Bullet and COLLADA DOM.
...
Fix issues with btDbvt: use ATTRIBUTE_ALIGNED16
Removed several places where variable was declared within for statement: for (int i=0; should be int i; for (i=0
2008-11-12 18:37:05 +00:00
erwin.coumans
1381394dd8
reverted 'getActiveObjects', island management will be improved for Bullet 2.74 release.
...
The implementation was error-prone and could lead to crashes.
See http://code.google.com/p/bullet/issues/detail?id=128
2008-11-11 16:19:20 +00:00
erwin.coumans
85341fee2a
fix more places in btSoftBody that assume btRigidBody (it wasn't designed to support btCollisionObject/btGhostObject).
...
Add another 'findActiveObject'
2008-11-10 21:33:11 +00:00
erwin.coumans
f9aa7f3b53
Add Character control to btDiscreteDynamicsWorld (moved btCharacterControllerInterface/btKinematicCharacterController functionality from demo)
...
Remove ibmsdk from CcdPhysicsDemo and CollisionDemo
2008-11-08 21:01:20 +00:00
erwin.coumans
ce0bdd891d
added synchronizeSingleMotionState, thanks Chunky.
2008-11-08 19:34:05 +00:00
erwin.coumans
f6dcf94f25
Reduce default memory pool sizes (will use heap on overflow anyway), fits better with iPhone and consoles
...
Debug drawer needs to iterate over all objects, not just active
2008-11-08 06:37:48 +00:00
erwin.coumans
86353f0ad8
add btActivationCollisionAlgoritm to fix deactivation problems, reported here:
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2616
provide access to active objects, requested here:
http://code.google.com/p/bullet/issues/detail?id=128
2008-11-07 03:37:14 +00:00
erwin.coumans
bcd0f48c28
some doxygen updates, added some comments to classes, fix broken links, rename some prefix some internal GIMPACT collision structures using (for example use GIM_AABB instead of BT_AAABB),
...
removed obsolete btGjkEpa (it was replaced by btGjkEpa2 ages ago)
2008-11-04 04:01:31 +00:00
erwin.coumans
6f28170422
Removed obsolete btPoint3: use btVector3 instead
2008-10-27 19:56:48 +00:00
erwin.coumans
6fcd824524
Applied filtering flags for CCD Motion Clamping, thanks to Bbilz, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2736
2008-10-16 20:17:56 +00:00