Commit Graph

108 Commits

Author SHA1 Message Date
Daniel Chappuis
39aa39e385 Fix warnings on MSVC 2021-11-02 17:09:09 +01:00
Daniel Chappuis
975eb1c11f Edit comments in DefaultLogger 2021-10-06 21:18:23 +02:00
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
65e99add46 Edit comments in Map and Set classes 2021-09-28 12:58:50 +02:00
Daniel Chappuis
a769cad359 Make the RigidBody::setIsSleeping() method public 2021-09-24 17:11:30 +02:00
Daniel Chappuis
ce0bb3b9a6 Fix wrong parameter name 2021-09-07 22:00:02 +02:00
Daniel Chappuis
e229cc9b4b Changes in Set and Map classes 2021-09-02 20:49:12 +02:00
Daniel Chappuis
e7a1296de1 Replace some uint types with uint32 or uint16 2021-09-01 09:45:58 +02:00
Daniel Chappuis
90741a69bb Replace some uint declarations to uint32 2021-09-01 09:14:38 +02:00
Daniel Chappuis
f65cc68915 Replace some uint declarations to uint32 2021-08-25 20:48:05 +02:00
Daniel Chappuis
b2b72036ac Fix warnings 2021-08-24 17:31:58 +02:00
Daniel Chappuis
c237cecf68 Fix warnings 2021-08-18 10:35:26 +02:00
Daniel Chappuis
3050c83b0d Fix warnings 2021-08-17 07:14:39 +02:00
Daniel Chappuis
31c071fcca Improve code documentation of HingeJoint::getAngle() method 2021-08-16 07:18:09 +02:00
Daniel Chappuis
6db3674c65 Fix memory leaks in Map and Set classes 2021-08-13 16:52:17 +02: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
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
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
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
716aa1940d Working on cone limit for BallAndSocket joint 2021-03-21 15:22:43 +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
4d14c8e854 Remove unused method declaration 2021-02-03 13:21:44 +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
5af0cbfae4 Modifications in RigidBodyComponents for locking linear/angular axis 2021-01-16 23:53:45 +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
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
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
860bc8b091 Fix typo 2020-10-17 21:58:12 +02:00
Daniel Chappuis
79c42fa36e Change the default number of iterations of the velocity and position solver 2020-10-14 18:29:41 +02:00
Daniel Chappuis
916cefa96d Optimization of joints 2020-10-12 23:01:57 +02:00
Daniel Chappuis
ec39d00a70 Fix compilation error on Windows 2020-10-11 10:57:11 +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