Commit Graph

1020 Commits

Author SHA1 Message Date
Daniel Chappuis
2d0cb27538 Add List and DefaultAllocator classes 2017-12-12 22:53:00 +01:00
Daniel Chappuis
9066264189 Remove commented code 2017-12-12 22:36:19 +01:00
Daniel Chappuis
cf42e9f04c Optimizations in contact solver 2017-12-12 07:29:29 +01:00
Daniel Chappuis
9d761291d6 Small optimizations 2017-12-06 21:55:50 +01:00
Daniel Chappuis
4f76553c59 Many small optimizations 2017-12-04 22:14:52 +01:00
Daniel Chappuis
4cc024b85e Rename fields and methods in ContactPoint class 2017-11-29 23:43:55 +01:00
Daniel Chappuis
ebd715d2e0 Add data types 2017-11-28 17:53:50 +01:00
Daniel Chappuis
e754711a84 Remove unnecessary calls to Quaternion.getMatrix() 2017-11-28 17:46:45 +01:00
Daniel Chappuis
317dea90bd Remove Quaternion constructor with Euler angles and replace it by static fromEulerAngles() method 2017-11-28 17:26:13 +01:00
Daniel Chappuis
c8e9cca912 Compute the inverse quaternion using its conjugate 2017-11-26 12:07:58 +01:00
Daniel Chappuis
fea467f112 Add profiling in SAT algorithm methods 2017-11-25 17:51:14 +01:00
Daniel Chappuis
f09331c185 Remove unused cachedCollisionData variable 2017-11-22 22:58:31 +01:00
Daniel Chappuis
f403a6e804 Add temporal coherence for convex vs triangle collision detection 2017-11-22 22:43:27 +01:00
Daniel Chappuis
38bd462b91 Fix issue in SAT algorithm, use the correct penetration depth for each contact point 2017-11-13 18:42:39 +01:00
Daniel Chappuis
e9709c3db5 Refactor the Profiler. Now there is one profiler instance per CollisionWorld/DynamicsWorld instance instead of a static one 2017-11-10 19:57:50 +01:00
Daniel Chappuis
222636391e Use the true triangle face normal if contact is not on an edge in smooth triangle contact 2017-11-10 17:51:02 +01:00
Daniel Chappuis
de95e15147 Fix issue with the shape order in concave vs convex middle-phase collision detection 2017-11-08 21:28:00 +01:00
Daniel Chappuis
8bfa6dd137 Fix issue : the scaling factor was not used when recomputing AABB tree for concave mesh shape 2017-11-08 21:26:15 +01:00
Daniel Chappuis
013431487e Rename setScaling() to setLocalScaling() 2017-11-08 21:24:09 +01:00
Daniel Chappuis
b39bb3ba37 Initialize the timestep in the DynamicsWorld constructor 2017-11-08 21:14:21 +01:00
Daniel Chappuis
c6f9378997 Enable vsync in the testbed application 2017-11-08 21:13:02 +01:00
Daniel Chappuis
e91cded831 Update code documentation and fix warnings 2017-11-05 23:15:47 +01:00
Daniel Chappuis
6e322882eb Fix wrong world AABB computation that caused broad-phase collision misses 2017-11-05 23:10:55 +01:00
Daniel Chappuis
fd427c0337 Fix compilation errors because of removed files 2017-11-03 07:11:19 +01:00
Daniel Chappuis
002264a5a1 Remove unused files 2017-11-02 23:01:32 +01:00
Daniel Chappuis
7495ff6598 Refactor the testbed application and display objects AABBs 2017-11-02 22:58:41 +01:00
Daniel Chappuis
ad0f805f53 Fix robustness issue in SAT Algorithm (convex polyhedron vs capsule) 2017-11-01 23:09:02 +01:00
Daniel Chappuis
6a69ef76c5 Fix issue with ProxyShape::mBroadPhaseId not set when body was sleeping or inactive 2017-11-01 23:07:56 +01:00
Daniel Chappuis
5da57a96c8 Fix issue with sphere and capsule SAT collision detection 2017-10-24 22:47:35 +02:00
Daniel Chappuis
b1aad2b7c4 Refactor the testbed application 2017-10-19 17:42:21 +02:00
Daniel Chappuis
cdaa297a78 Remove unused variable 2017-10-19 17:19:33 +02:00
Daniel Chappuis
c1295f1d7a Remove contactNormaldId attribute and fix typo 2017-10-19 07:26:11 +02:00
Daniel Chappuis
cdec7413c5 Improve capsule resting on another shape stability 2017-10-18 21:26:53 +02:00
Daniel Chappuis
0250d8c4bd Fix issue in SAT algorithm 2017-10-18 19:35:20 +02:00
Daniel Chappuis
de494bb0fd Changes and bug fixes in ContactManifold and ContactManifoldSet 2017-10-18 00:41:32 +02:00
Daniel Chappuis
d5617526ff Modify the policy to drop contact manifolds. First drop the old ones before the new ones 2017-10-12 20:07:39 +02:00
Daniel Chappuis
17d1ee3681 Change in the ConcaveMesh class of the testbed application 2017-10-09 23:35:30 +02:00
Daniel Chappuis
4a37ba3994 Add unit tests for the TriangleVertexArray 2017-10-09 23:34:35 +02:00
Daniel Chappuis
37e2c79cf2 Fix issue in ContactManifoldSet 2017-10-09 22:41:45 +02:00
Daniel Chappuis
38eff07d0d Fix issue and small changes in TriangleVertexArray 2017-10-09 22:36:39 +02:00
Daniel Chappuis
d62aa41974 Fix issue in ContactManifoldSet 2017-10-04 22:38:39 +02:00
Daniel Chappuis
cbfeb608df Fix bug and clean the pointers casting in TriangleVertexArray 2017-10-04 22:38:14 +02:00
Daniel Chappuis
310fef1c52 Fix issue with middle phase collision detection (AABB not computed in correct space) 2017-09-28 08:34:45 +02:00
Daniel Chappuis
b33b8e0dc5 Fix issue in SAT algorithm between polyhedron and capsule 2017-09-25 23:06:17 +02:00
Daniel Chappuis
643c781fa0 Fix issues with smooth triangle contact 2017-09-21 22:44:42 +02:00
Daniel Chappuis
63833621a0 Fix issue with triangle shape normal computation 2017-09-12 23:25:21 +02:00
Daniel Chappuis
709bed3cec Fix issues with GJK algorithm 2017-09-09 15:37:55 +02:00
Daniel Chappuis
8cb2ec7e17 Remove wrong assert 2017-09-08 07:38:57 +02:00
Daniel Chappuis
b890773053 Fix issue when computing clipping planes in SAT algorithm 2017-09-07 22:24:30 +02:00
Daniel Chappuis
1b82a3e228 Fix issue in GJK algorithm when numerical issue occurs 2017-09-07 22:23:00 +02:00