Commit Graph

1042 Commits

Author SHA1 Message Date
Daniel Chappuis
010d7876ef Make sure we do not recompute automatically center of mass and inertia tensor when they are set by the user 2018-01-21 13:11:11 +01:00
Daniel Chappuis
c7f7a169f8 Refactor the getter/setter for inertia tensor of a RigidBody 2018-01-15 07:18:00 +01:00
Daniel Chappuis
27a451adcf Merge branch 'optimization' into develop 2018-01-14 11:05:21 +01:00
Daniel Chappuis
45e6a58fba Fix conflict 2018-01-14 10:59:09 +01:00
Daniel Chappuis
584b28a91c Add Cube stack scene in the testbed application 2018-01-14 10:51:38 +01:00
Daniel Chappuis
ceb27760cb Working on containers 2018-01-14 10:47:39 +01:00
Daniel Chappuis
261ffef616 Refactor memory allocation 2018-01-01 18:35:57 +01:00
Daniel Chappuis
3be2970d30 Merge branch 'sat_opti' into sat 2017-12-28 01:04:45 +01:00
Daniel Chappuis
8f126a75d6 Use List in HalfEdgeStructure with some changes in memory allocation 2017-12-27 20:53:09 +01:00
Daniel Chappuis
f2ee00ca68 Use List instead of std::vector compute segment clipping in SAT algorithm 2017-12-14 22:25:52 +01:00
Daniel Chappuis
47869627d1 Fix issue in Transform 2017-12-14 20:24:19 +01:00
Daniel Chappuis
7d20a746e9 Do not std::map to store mapping from rigid body to index in array 2017-12-14 15:09:56 +01:00
Daniel Chappuis
5392948518 Use inline constructors for mathematics objects (vectors, quaternion, matrices, ...) 2017-12-13 17:51:38 +01:00
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