Commit Graph

734 Commits

Author SHA1 Message Date
Daniel Chappuis
69708bc23f Merge branch 'master' of https://github.com/CentuCore/reactphysics3d into CentuCore-master 2021-04-20 23:41:06 +02:00
Dennis Metzger
742fe872f3 Fixed a bug with DebugRenderer::drawCapsule() where only half the connecting cylinder's triangles were generated 2021-04-18 20:15:59 +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
e5d9090441 Fix issue 195 in RigidBodyComponents 2021-03-08 22:35:23 +01:00
Daniel Chappuis
4c0e629e9b Use C++11 std::chrono library to deal with time instead of old code 2021-02-22 21:08:55 +01: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
3ae53a0466 Remove comments 2021-02-03 13:31:41 +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
b18e617c76 Fix issue with update of inverse mass/inertia of a static body 2021-01-27 21:49:31 +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
bacdf23f8b Fix issue and modifications in HeightFieldShape 2020-12-31 16:41:05 +01:00
Daniel Chappuis
d0fa4c2755 Improve the raycasting performance against HeightFielfShape with a better middle-phase algorithm 2020-12-28 00:07:08 +01:00
Daniel Chappuis
5443f0bd54 Fix wrong normal orientation in TriangleShape raycasting 2020-12-28 00:04:23 +01:00
Daniel Chappuis
983398eb1b Merge branch 'master' into optimization 2020-11-28 20:37:48 +01:00
Daniel Chappuis
23abaa905d Add the HingeJoint::getAngle() method to get the current angle of the hinge joint 2020-11-28 19:45:38 +01:00
Daniel Chappuis
b0ccdb6cc1 Fix conflict 2020-11-26 22:53:28 +01:00
Daniel Chappuis
a4a386f823 Fix issue in FixedJointComponents 2020-11-26 22:08:15 +01:00
Daniel Chappuis
cc63f7c0a1 Fix issue 179 in FixedJoint 2020-11-25 22:20:40 +01:00
Daniel Chappuis
d4a58b7228 Do not recompute triangle normal during triangle raycasting 2020-11-15 11:56:44 +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
ec5350bb5f Make AABB methods inline 2020-10-20 22:46:20 +02:00
Daniel Chappuis
1bc1f0621e Optimizations 2020-10-15 22:23:32 +02:00
Daniel Chappuis
fcf7def577 Small optimizations 2020-10-14 20:41:05 +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
9be56213e0 Optimization in NarrowPhaseInfoBatch 2020-10-14 18:30:21 +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
44e1b12aaf Fix robustness issue with SphereShape vs SphereShape collision detection 2020-10-10 00:10:05 +02:00
Daniel Chappuis
7071213617 Optimizations and small modifications 2020-10-04 16:08:12 +02:00
Daniel Chappuis
85103f7027 Small optimizations 2020-10-02 21:26:14 +02:00
Daniel Chappuis
d4be363e7c Optimization of face vs face clipping in SAT algorithm 2020-09-30 00:22:16 +02:00
Daniel Chappuis
21f9b39bc4 Small optimizations 2020-09-26 15:07:20 +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
71f7980fdf Log an error when convex mesh is created with duplicated vertices and add in user manual that this is not supported 2020-09-21 13:59:23 +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
de6630a03d Refactoring and optimization of List and Set containers 2020-08-28 23:10:19 +02:00
Daniel Chappuis
a1e0e0aa94 Refactor OverlappingPairs 2020-08-11 18:14:32 +02:00
SlavicPotato
b5a7454f4c Fix DebugRenderer contact point sphere radius 2020-08-11 09:14:18 +02:00