Commit Graph

20 Commits

Author SHA1 Message Date
Xuchen Han
e124c62a70 each node only allows a single contact; initial guess for newton set to x = x_n + dt*v_n 2019-09-04 18:49:43 -07:00
Xuchen Han
e73f70efa2 swap m_x and m_q in softbody to align with rendering convention 2019-09-04 18:48:00 -07:00
Xuchen Han
6d31c73216 style fix and remove unused variable 2019-08-16 13:44:59 -07:00
Xuchen Han
e5231b5cc5 restore behaviors of btSoftBody 2019-08-06 10:52:19 -07:00
Xuchen Han
8c04a78c9b switch from std::unordered_map to btHashMap 2019-08-02 23:26:11 -07:00
Xuchen Han
dae230912b typo fix 2019-08-02 15:51:38 -07:00
Xuchen Han
f624b60c19 get rid of auto 2019-08-02 15:19:37 -07:00
Xuchen Han
8cc7cb59d7 clean up examples 2019-08-02 14:06:42 -07:00
Xuchen Han
54303e02b1 perform position correction only when objects are penetrating 2019-08-02 13:21:06 -07:00
Xuchen Han
f1e7ce9ce1 add multibody interpolation transform so that collision detection is consistent with rigidbody 2019-08-02 13:15:06 -07:00
Xuchen Han
ec403f790d factor out force; now btDeformableLagrangianceForce can be specified at configuration time and to specific softbody 2019-08-02 13:15:06 -07:00
Xuchen Han
233a381e7c add correct impulse matrix to multibody-deformable contact 2019-08-02 13:15:00 -07:00
Xuchen Han
243b9fc8c7 combat friction drift in positionCorrect by changing velocity and change it back (effectively only changing position) 2019-08-02 13:14:15 -07:00
Xuchen Han
bac7d461c5 fix bugs in poststablize and projection of colinear constraints 2019-08-02 13:12:51 -07:00
Xuchen Han
696c96f392 bug fix in projection; start friction 2019-08-02 13:12:41 -07:00
Xuchen Han
13d4e1cc2b bug fixes in constraints projections; cpplized various functions 2019-08-02 13:12:41 -07:00
erwincoumans
ab8f16961e Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
2018-09-23 14:17:31 -07:00
Erwin Coumans
c0c4c8ba3f fix many warnings
remove btMultiSapBroadphase.*
make collisionFilterGroup/collisionFilterMark int (instead of short int)
2017-01-15 22:26:11 -08:00
Erwin Coumans
92a612a146 fix in btSoftBodyInternals.h to avoid infinite recursion 'getMargin'
but call base class instead
2015-06-05 16:43:17 -07:00
Erwin Coumans
222ecb156d add GImpact and BulletSoftBody, until we have replacement (otherwise it prevents people from migrating to the github/Bullet3 repository) 2013-12-18 09:05:30 -08:00