Commit Graph

747 Commits

Author SHA1 Message Date
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
cc970840b1 Merge branch 'contacts-fix' into develop 2021-07-26 20:30:20 +02:00
Daniel Chappuis
e8439edd96 Add unit tests for the RigidBody class and refactor methods to apply forces and torques to rigid bodies 2021-07-23 16:02:47 +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
cc9da45dc3 Add and rename methods to apply forces to a RigidBody 2021-07-16 17:01:58 +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
4dae9449c9 Fix issue with sleeping bodies and joints and small changes 2021-07-03 22:28:19 +02:00
Minigee
288627bd41 Fixed a bug where changing the transform of a Collider attached to a sleeping RigidBody caused the body to remain asleep 2021-06-26 02:30:14 -05: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
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
716aa1940d Working on cone limit for BallAndSocket joint 2021-03-21 15:22:43 +01: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