Commit Graph

111 Commits

Author SHA1 Message Date
Daniel Chappuis
408134666a Remove duplicate contact points in a manifold during collision detection and increase maximum number of contact points in a potential manifold 2021-09-30 21:02:01 +02:00
Daniel Chappuis
a0c2c9fe23 Merge conflicts when reverting commit a8f939c7 2021-09-28 21:51:43 +02:00
Daniel Chappuis
1273f3a83c Change the function used for the linear and angular damping of the rigid bodies 2021-09-09 00:05:45 +02:00
Daniel Chappuis
90741a69bb Replace some uint declarations to uint32 2021-09-01 09:14:38 +02:00
Daniel Chappuis
c237cecf68 Fix warnings 2021-08-18 10:35:26 +02:00
Daniel Chappuis
f39cad7482 Solve most important constraints at the end for better simulation results 2021-08-16 07:19:12 +02:00
jingqi
11efc8973d Fix wrong operator in ContactSolverSystem::initializeForIsland() 2021-08-06 12:52:06 +08:00
jingqi
d5c1578f53 Fix wrong operator in ContactSolverSystem::initializeForIsland() 2021-08-06 12:19:46 +08:00
Daniel Chappuis
d6873a6fc8 Fix conflicts 2021-07-29 22:18:00 +02:00
Daniel Chappuis
a103de32d7 Fix issue 192 in CollisionDetectionSystem 2021-07-27 20:44:18 +02:00
Daniel Chappuis
a8f939c7b2 Remove code that discarded some potential contacts before contact reduction in order not to drop possible useful contacts 2021-07-16 17:05:56 +02:00
Daniel Chappuis
312a4cc9a8 Fix issue with cone limit of ball-and-socket joint 2021-07-04 15:42:42 +02:00
Daniel Chappuis
de86e9cbbd Merge branch 'conelimit' into develop 2021-06-24 23:55:57 +02:00
Daniel Chappuis
67d480c4ee Working on cone limit for Ball and Socket joint 2021-06-24 23:30:08 +02:00
Daniel Chappuis
4a802a759c Working on cone limit 2021-05-04 15:50:16 +02:00
Daniel Chappuis
e4f7a8da26 Fix merge conflicts 2021-04-01 23:06:29 +02:00
Daniel Chappuis
c273e7cfe5 Fix issue in the computation of the friction vectors in contact solver 2021-04-01 22:59:20 +02:00
Daniel Chappuis
e0555f1a57 Add methods Joint::getReactionForce() and Joint::getReactionTorque() to retrieve the reaction force and torque of a joint 2021-02-08 21:42:26 +01:00
Daniel Chappuis
2e1046f2b8 Improve robustness of constraint solver (avoid inverse of matrix with zero determinant) 2021-01-29 22:08:39 +01:00
Daniel Chappuis
c615555daa Fix issue with angular lock axis factor 2021-01-22 21:54:44 +01:00
Daniel Chappuis
a3ceafff07 Make possible to lock the linear/angular axis of a RigidBody 2021-01-15 23:47:29 +01:00
Daniel Chappuis
b0ccdb6cc1 Fix conflict 2020-11-26 22:53:28 +01:00
Daniel Chappuis
cc63f7c0a1 Fix issue 179 in FixedJoint 2020-11-25 22:20:40 +01:00
Daniel Chappuis
9d645bdca7 Use faster ray vs ABBB intersection algorithm in raycasting DynamicAABBTree broad-phase 2020-11-08 15:13:17 +01:00
Daniel Chappuis
2b052969a9 Compute the half-edge structure of TriangleShape and BoxShape only once at the beginning 2020-10-29 23:09:15 +01:00
Daniel Chappuis
1bc1f0621e Optimizations 2020-10-15 22:23:32 +02:00
Daniel Chappuis
8c7a709ebe Fix compilation issues 2020-10-14 20:40:41 +02:00
Daniel Chappuis
8f5a7a12cb Fix issue in position solver of joints (constrained orientations must be used instead of previous orientation when computing inertia tensor) 2020-10-14 19:42:40 +02:00
Daniel Chappuis
2078971331 Optimization of joints solver 2020-10-12 23:56:33 +02:00
Daniel Chappuis
916cefa96d Optimization of joints 2020-10-12 23:01:57 +02:00
Daniel Chappuis
7071213617 Optimizations and small modifications 2020-10-04 16:08:12 +02:00
Daniel Chappuis
fa722c129d Better optimization to allocate correct amount of memory for potential manifolds and contact points 2020-09-26 14:57:00 +02:00
Daniel Chappuis
e7b951b8e4 Refactor the mathematics_functions.h file 2020-09-08 19:03:22 +02:00
Daniel Chappuis
b55626df67 Cache the size of lists before loops 2020-09-06 18:42:05 +02:00
Daniel Chappuis
cd4bc7573f Rename the List class into Array 2020-09-05 15:06:51 +02:00
Daniel Chappuis
f17941b708 Optimization 2020-09-02 23:33:12 +02:00
Daniel Chappuis
18924135e0 Remove some code 2020-09-02 23:00:15 +02:00
Daniel Chappuis
7774b6f0cd Merge master into optimization and fix conflicts 2020-09-02 22:53:21 +02:00
Daniel Chappuis
98ba2f10e6 Fix issue with contact manifolds order in islands creation process 2020-09-02 21:59:19 +02:00
Daniel Chappuis
70d4aed3c1 Reduce the number of calls to List::reserve() 2020-08-30 08:32:49 +02:00
Daniel Chappuis
2b362b5098 Use uint32 type for size/capacity of List 2020-08-30 00:00:47 +02:00
Daniel Chappuis
a1e0e0aa94 Refactor OverlappingPairs 2020-08-11 18:14:32 +02:00
Daniel Chappuis
05e3b00689 Remove mIsActive variable from OverlappingPairs 2020-08-06 16:00:50 +02:00
Daniel Chappuis
eeb5b07f35 Remove rolling restistance constraint from contact solver. Angular damping has to be used instead 2020-07-29 22:49:19 +02:00
Daniel Chappuis
0126677808 Fix issue 2020-07-29 00:24:52 +02:00
Daniel Chappuis
7f219dd99c More materials into the ColliderComponents and more optimizations 2020-07-28 23:35:11 +02:00
Daniel Chappuis
aa6b228e10 Optimizations 2020-07-28 23:34:25 +02:00
Daniel Chappuis
fd09fcf660 Add force inline macro 2020-07-26 20:47:23 +02:00
Daniel Chappuis
92884e2486 Working on NarrowPhaseInfoBatch optimizations 2020-07-26 16:55:07 +02:00
Daniel Chappuis
a871bfdd6a More optimizations 2020-07-20 00:33:50 +02:00