erwin.coumans@gmail.com
a21480c8ca
Attempt to fix "Regression in friction and damping behaviour" , see issue 752
...
Thanks to Sergej Reich for the report and narrowing down the breaking revision!
2013-10-22 09:26:08 +00:00
erwin.coumans@gmail.com
5e372d6ac5
fix compile errors
2013-10-21 23:33:01 +00:00
erwin.coumans@gmail.com
379f0079e0
Added Dantzig MLCP solver option from Open Dynamics Engine (trying to avoid naming/linking conflicts in case ODE and Bullet is used together)
...
If an MLCP solver fails, use PGS/SI fallback, add a boolean return value for 'solve' method
2013-10-21 23:27:09 +00:00
erwin.coumans@gmail.com
1ca0493dc4
Build full A matrix and b vector for a MLCP solver interface, to explore Lemke, Dantzig, Newton and other MLCP solvers. The A matrix contains sparsity information.
...
Added a PGS solver that uses the sparsity of the A matrix, just for testing (the equivalent sequential impulse solver is much faster, not having to allocate the big matrices)
2013-10-20 17:38:14 +00:00
erwin.coumans@gmail.com
5bd6decb2e
Use the more accurate, but slightly slower, gjk ray test by default, instead of the sub-simplex convex cast.
...
Set the rayCallback.m_flag btTriangleRaycastCallback::kF_UseSubSimplexConvexCastRaytest to enable the previous approximate/faster ray test.
2013-10-19 16:42:17 +00:00
erwin.coumans
d998680a68
fix error in Visual Studio 2005 build, due to unsupported SSE intrinsics
2013-10-16 21:25:52 +00:00
erwin.coumans@gmail.com
d4640227ce
add option to disable btMultiBody self-collision (for the entire hierarchy) or to disable parent-child collision for jointed links.
2013-10-08 00:50:40 +00:00
erwin.coumans@gmail.com
34d975143e
expose maximum applied impulse for btMultiBody, introduced to reduce/avoid 'exploding' simulations
...
use btScalar instead of float, to enable double precision build, fix for Issue 744
2013-10-06 17:13:08 +00:00
erwin.coumans@gmail.com
488dd44835
Added btMultiBodyPoint2Point, it can be used between btMultiBody vs btMultiBody or btMultiBody vs btRigidBody
...
Allow picking of btMultiBody, using a btMultiBodyPoint2Point constraint, with limited strength to avoid adding too much energy to the system (= blowup)
Add btMultiBodyJointMotor, it can be used in combination with joint limit (just add the joint limit after the motor, to avoid jitter)
2013-10-05 01:46:32 +00:00
erwin.coumans@gmail.com
2fb686b937
change btMultiBody to allow removal/changing of links
...
(still not easy to modify the link structure of a btMultiBody -> You have to manually re-link parents, copying links around etc)
2013-10-03 05:13:41 +00:00
erwin.coumans@gmail.com
88b8ae552b
add a btFixedConstraint with toggle between btGeneric6DofConsraint and btFixedConstraint in VoronoiFractureDemo
2013-10-02 21:50:50 +00:00
erwin.coumans
75f17509cc
Add a virtual createConstraintRows method, to easier experiment with different kinds of btMultiBodyConstraint
2013-10-02 21:38:40 +00:00
erwin.coumans
c2bece5280
Enable btMultiBodyJointLimitConstraint, seems to be working for the prismatic joint
...
Fix case sensitive issue, thanks to Martin Felis
Fix crash/bug in btMultiBodyConstraint computation
2013-10-02 20:14:48 +00:00
erwin.coumans
36cfbd47a6
preparation for joint limit constraint for Featherstone btMultiBody
2013-10-02 06:25:20 +00:00
erwin.coumans
d8b6a02a7a
Fix some crashes in FeatherstoneMultiBodyDemo, when using a fixed base
...
Create two btMultiBody, one fixed and one free base
Preparation towards btMultiBodyConstraint
2013-10-02 03:07:52 +00:00
erwin.coumans
f02dd51597
Added a first version of a Featherstone multi body implementation.
...
The original version was written by Stephen Thompson.
I replaced Eigen math by Bullet LinearMath, and added a dedicated 6x6 matrix solver.
Also I integrated support for collisions/contact constraints between btMultiBody and btRigidBody, and de-activation support.
See Demos/FeatherstoneMultiBodyDemo/Win32FeatherstoneMultiBodyDemo.cpp for example usage.
There is currently only support for contact constraints for btMultiBody.
Next on the list will be adding support for joint limit constraint for btMultiBody.
The implementation is still experimental/untested, the quality will improve in upcoming Bullet releases.
2013-10-01 22:50:31 +00:00
erwin.coumans
7292867d25
applied character controller patch, not tested (allow community to develop btKinematicCharacterController.cpp)
2013-10-01 17:35:45 +00:00
erwin.coumans
dece911679
removed Particles OpenCL demo, all OpenCL work is moved to Bullet 3.x see
...
http://github.com/erwincoumans/bullet3
Fixes Issue 741
2013-10-01 17:28:56 +00:00
erwin.coumans
858c890c96
prettify the debug wireframe drawing of sphere, capsule, cylinder and cone
...
add an btAssert in normalize of btVector3 and 'normalized' always use 'normalize'
2013-09-17 02:01:14 +00:00
erwin.coumans
5f5d601ebf
added two methods to btQuaternion, and add a note that the 'angle' method returns the half angle.
...
angleShortestPath and getAngleShortestPath
Thanks to Tully Foote. This fixes issue 379.
2013-09-16 19:05:36 +00:00
erwin.coumans
126fd06ac6
remove the 'isActive' test when merging simulation islands for constraints and speculative contacts, it is wrong
...
This fixes issue 709
2013-09-16 17:25:05 +00:00
erwin.coumans
c28652de37
add serialization for btGearConstraint
...
support 'linearFactor' and 'angularFactor' for btRigidBody world importer
2013-09-14 17:51:09 +00:00
erwin.coumans
6fd4738a9e
use the old data structures for single precision serialization, to make it backwards compatible
...
So files created by the new double precision serialization of Bullet 2.82 cannot be read by old Bullet versions,
but double precision serialized file generated by older Bullet versions can be read by Bullet 2.82 or newer.
2013-09-14 16:49:31 +00:00
erwin.coumans
e22a11c021
update serialization structures
2013-09-14 06:22:22 +00:00
erwin.coumans
1aac33f6b6
refactor constraint serialization, so that double precision is maintained,
...
changes are backwards compatible (btBulletWorldImporter can load old .bullet files)
but not forwards compatible (constraints in new .bullet files are ignored/unrecognized by old Bullet SDK)
This commit is for Issue 734. Some more work needs to be done for btGImpactMeshShapeDoubleData and thus btStridingMeshInterfaceDoubleData and btMeshPartDoubleData
2013-09-14 06:08:50 +00:00
erwin.coumans
e94a2137b0
minor update manual
...
fix vehicle demo (heightfield is broken, when using very large scaling factor)
add btConeShape serialization, see Issue 725
add btGearConstraint get/set, see Issue 685 and Issue 671
2013-09-13 16:34:39 +00:00
erwin.coumans
8f4f99809e
use btScalar instead of float for btTriangleMesh
...
thanks to nsarkozi. This fixes issue 704
2013-09-12 22:22:15 +00:00
erwin.coumans
29915ba7fd
bump up VERSION to 2.82 in various places, there is still some more issue to be fixed before release.
2013-09-12 20:37:30 +00:00
erwin.coumans
fa2276f1ca
add option for slightly more accurate, and slightly slower algorithm for ray versus convex, used in btCollisionWorld::rayTest.
...
rayResult.m_flags |= btTriangleRaycastCallback::kF_UseGjkConvexRaytest;
See Demos/RaytestDemo/RaytestDemo.cpp for usage
This fixes issue 146, longest outstanding from 2008.
2013-09-12 20:25:06 +00:00
erwin.coumans
e792f0e549
Add faster processing of btCompoundShape versus btCompoundShape, using a dedicated btCompoundCompoundCollisionAlgorithm,
...
with hash pair caching and tandem tree traversal. It should be much faster, when using many child shapes for both compounds.
Fix iOS compilation, added header.
2013-09-12 19:28:39 +00:00
erwin.coumans
1685729b80
Show how to use the btBroadphaseInterface::aabbTest, it collects all objects that overlap with a given bounding box
...
This fixes old Issue 114
Removed 2 warnings
2013-09-11 05:52:19 +00:00
erwin.coumans
a197c58935
Add #ifdef BT_NO_SIMD_OPERATOR_OVERLOADS before including Bullet headers, to avoid clashes with XNAMath.h
...
Fixes Issue 710
error C2084: function 'XMVECTOR operator +(FXMVECTOR,FXMVECTOR)' already has a body
error C2084: function 'XMVECTOR operator -(FXMVECTOR,FXMVECTOR)' already has a body
error C2084: function 'XMVECTOR operator *(FXMVECTOR,FXMVECTOR)' already has a body
2013-09-11 00:01:48 +00:00
erwin.coumans
bb379bd84c
fix one of the btCompoundShape scaling issues, this fix breaks the API (need to add warning at the next release)
...
fixes https://code.google.com/p/bullet/issues/detail?id=374 and
https://code.google.com/p/bullet/issues/detail?id=444
2013-09-10 23:34:23 +00:00
erwin.coumans
7195b54d13
Fix Issue 712, related to NVIDIA CUDA check in CMakeLists.txt
...
Enable btGImpact raycast optimization, thanks to C0DEFACE, see Issue 664
Cull triangle/AABB for concave/heightfield shapes, thanks to Danny Chapman
fix btGetCpuCapabilities, thanks to Ian Ollman! See https://code.google.com/p/bullet/issues/detail?id=738
2013-09-10 23:09:24 +00:00
erwin.coumans
7633dc8b13
use __int64 for 64bit uint64_t for 64bit Visual Studio
...
See https://code.google.com/p/bullet/issues/detail?id=717
allow parallel constraint solver in double precision
See https://code.google.com/p/bullet/issues/detail?id=728
2013-09-10 21:26:19 +00:00
erwin.coumans
c160bfe74c
applied Character controller patch #20 from Issue 198
...
See https://code.google.com/p/bullet/issues/detail?id=198
2013-09-10 20:40:42 +00:00
erwin.coumans
d50be40f8e
Fix Issue 2644, compile error due to use of removed stack alloc
2013-09-10 20:15:52 +00:00
erwin.coumans
0779a274de
fix Clang issue
...
https://code.google.com/p/bullet/issues/detail?id=736
2013-09-10 20:06:24 +00:00
erwin.coumans
771ae1ce41
fix usage of internal API for Apple iOS devices
...
Thanks to nharishankar for the report, see Issue 738
2013-09-10 19:59:33 +00:00
erwin.coumans
6b3828d74b
removed the early out, it was not general
2013-09-10 19:52:58 +00:00
erwin.coumans@gmail.com
2bb26cbb7d
Enable btHeightfieldShape in VehicleDemo, so it is tested (using heightfield128x128)
...
(converted raw data to .cpp so it doesn't need to be loaded from disk)
Some optimizations for btHeightfieldShape, thanks to Danny Chapman
Quick check on AABB (was not done) and reduce calls to 'getVertex'
2013-09-10 00:57:00 +00:00
erwin.coumans
197e17780a
replace 'float' by 'double' in btHingeConstraintDoubleData. See Issue 734
2013-09-03 16:46:18 +00:00
erwin.coumans@gmail.com
dfaed4b258
fix a line in unused testing code (USE_GJK should be defined)
2013-08-30 18:43:10 +00:00
erwin.coumans@gmail.com
e045896e92
Releasing, add files that contain VERSION information for a release and remind to cr-create serialization data structure file
2013-08-26 19:06:16 +00:00
erwin.coumans@gmail.com
f23693147c
Clarify Bullet 2.x release procedure
2013-08-26 19:02:17 +00:00
erwincoumans
7f29aebaa4
fix broken force feedback in constraint solver, thanks to John Hsu for the report
2013-08-21 23:00:17 +00:00
erwin.coumans@gmail.com
4ed87140fc
add an update revision, to make it easier to sync with Bullet 3.x
...
add set/getUserindex in addition to set/getUserPointer
2013-06-19 01:00:42 +00:00
erwin.coumans
92eed617cd
fix SSE issue with XCode 3
2013-05-14 12:38:06 +00:00
erwin.coumans@gmail.com
542c53fb30
Don't pass along unused btStackAlloc everywhere. The API change might user code (derived classes with the old virtual method are not called anymore)
2013-05-08 22:45:35 +00:00
erwin.coumans@gmail.com
329b9a1e3c
Avoid collision response between non-dynamic bodies, introduced in a recent commit.
...
Fixes Issue 711 https://code.google.com/p/bullet/issues/detail?id=711
Thanks to Sergej Reich.
2013-05-08 21:07:35 +00:00