Commit Graph
14 Commits
Author SHA1 Message Date
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 a90cad2a96 deformable code refactor 2019-08-02 13:13:21 -07:00
Xuchen Han 7846dd38dd switch explicit elastic force 2019-08-02 13:12:51 -07:00
Xuchen Han b7e512a5f9 sync gravity with substeps 2019-08-02 13:12:41 -07:00
Xuchen Han c4e316f005 btDeformableRigidWorld now inherits from btMultiBodyDynamicsWorld instead of btSoftRigidDynamicsWorld 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
Xuchen Han 786b0436ec fixed gravity issue in rigid body and deformable body contact solve 2019-08-02 13:12:27 -07:00
Xuchen Han b8997c36b2 update contact projection 2019-08-02 13:10:56 -07:00
Xuchen Han 35ce2ae0e2 add contact constraint as projections in CG 2019-08-02 13:10:56 -07:00
Xuchen Han 32836b0694 set up deformable world and solver (does not support contact or friction yet) 2019-08-02 13:10:17 -07:00