erwin.coumans@gmail.com
f5320e4106
add "latency motion state interpolation", using previous frame/current, instead of current->next
...
See Demos/ForkLiftDemo for example (F7 to toggle, use single-frame stepping, press 'i' and 's' to see the effect)
2013-10-24 00:13:43 +00:00
erwin.coumans@gmail.com
a1c962192c
Allow the ForkLiftDemo to toggle between MLCP and SI solver, using F6 key.
...
Apply patch for CMake config, see Issue 754 (Issue 753)
Fix a few issue with the MLCP solver: allow split impulse, and fix offset in friction dependencies
2013-10-23 23:35:13 +00:00
erwin.coumans
0024c87316
move the m_maxAppliedImpulse into base class, and use it for motor strength/point to point constraint strength
2013-10-22 21:49:52 +00:00
erwin.coumans
f22ceecb82
Fix Featherstone btMultiBodyPoint2Point constraint and picking: don't assume body 0 is the fixed body!
2013-10-22 21:06:47 +00:00
erwin.coumans@gmail.com
cf7f5436e4
apply CMake patch in Issue 748
...
thanks to Julien Schueller for the contribution!
2013-10-22 18:34:17 +00:00
erwin.coumans@gmail.com
23f612bbb5
fix Linux build
...
by default, only enable 64bit build when using ./premake4_linux64 and only 32bit build when using ./premake4_linux
remove some warning
2013-10-22 18:10:45 +00:00
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
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
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
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
197e17780a
replace 'float' by 'double' in btHingeConstraintDoubleData. See Issue 734
2013-09-03 16:46:18 +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@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
erwin.coumans
0c555a5afe
just use 16-byte aligned data for solverbody, not 64byte
...
fixes Issue 659
2012-12-17 21:29:20 +00:00
erwin.coumans
1d4a5d950d
Usually m_contactNormal2 == -m_contactNormal1, but not always, so
...
use a separate contactNormal1/contactNormal2 for each body in btSolverConstraint.
Thanks to Richard McDaniel for the patch.
2012-12-12 23:21:51 +00:00
rponom@gmail.com
f35621eb01
Bug in ConeTwist constraint with tight limits fixed
...
ConeTwist constructor for one-body constraint modified
2012-11-09 19:22:05 +00:00
erwin.coumans
48e932c8d6
fix build
2012-10-05 22:12:41 +00:00
erwin.coumans
eaabf1a2c8
Expose btManifoldResult::calculateCombinedRestitution and btManifoldResult::calculateCombinedFriction as static member functions, so it can be reused for speculative contacts
...
Add speculative contact restitution, but disabled by default, not well tested (btDiscreteDynamicsWorld::setApplySpeculativeContactRestitution)
Add --with-double-precision option to premake build system
2012-10-05 21:15:11 +00:00
erwin.coumans
6be2689f01
add joint feedback (applied force and applied torque for a constraint)
2012-10-05 05:37:12 +00:00
erwin.coumans
cfb609f9d1
tweak CcdPhysicsDemo
...
remove wrong cp.m_lateralFrictionInitialized = false;
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=28851#p28851
2012-09-29 01:52:27 +00:00
erwin.coumans
60bf599246
perform GrahamScanConvexHull2D around an arbitrary oriented 2D plane in 3D, to fix some convex hull face merging problems
...
add compound shape support to BulletXmlWorldImporter and fix some compile issue under Debian (hopefully)
object picking change in the demos: create a ball-socket picking constraint when holding shift while mouse dragging, otherwise a fixed (6dof) constraint
add assert in constraint solver, when both objects have their inertia tensor rows set to zero
btPolyhedralContactClipping: add edge-edge contact point in findSeparatingAxis (similar to the default GJK case)
2012-09-28 07:14:48 +00:00
erwin.coumans
182c3034de
fixes in btBulletXmlWorldImporter, and add premake4 support for the related demo
2012-09-22 05:27:35 +00:00
erwin.coumans
6f60a388c6
add missing Demos/BulletXmlImportDemo
...
serialize DynamicsWorldInfo
2012-09-22 02:06:09 +00:00
erwin.coumans
f2c9cdfb11
add m_rollingFriction to serialization structures
...
add btContactSolverInfo and gravity to serialization structures
(actual serialization code will follow soon)
2012-09-21 23:37:24 +00:00
erwin.coumans
214579ec60
Allow btBulletWorldImporter to convert/export a .bullet file to XML
...
Add first version of btBulletXmlWorldImporter, still incomplete but it can read some files
Fix false assert in btSequentialImpulseConstraintSolver
2012-09-21 22:47:11 +00:00
erwin.coumans
7494463be8
reset the companion Id back to -1, because of a bug related to kinematic objects
...
Thanks to Francois for the report. See Issue 652
2012-09-20 11:32:27 +00:00
erwin.coumans
5bba00dea4
improve control over rolling friction, use the same m_rollingFriction for both linear factor and absolute clamping value.
2012-09-20 04:18:29 +00:00
erwin.coumans
59a29b1859
fix kinematic objects, see Issue 652
...
add m_rollingFriction to btRigidBody::btRigidBodyConstructionInfo
2012-09-20 03:32:52 +00:00
erwin.coumans
8be5172df5
fix issue in the recent SSE implementation of setInterpolate3
...
align class
2012-09-17 16:03:47 +00:00
erwin.coumans
22fb7d5c1e
improve rolling friction using anisotropic direction, to avoid resting in an instable position
...
(for implicit capsule, cylinder and cone shape)
See Bullet/Demos/RollingFrictionDemo for an example
2012-09-16 17:01:25 +00:00