Commit Graph

129 Commits

Author SHA1 Message Date
Daniel Chappuis
cda466f9da Refactor the way to set/update the center of mass, mass and inertia tensor of a rigid body 2020-03-01 16:39:16 +01:00
Daniel Chappuis
9d776e32dc Make possible to change the size of the collision shapes after their creation 2020-02-06 07:21:13 +01:00
Daniel Chappuis
c5873dbc6b The Material is now part of the Collider instead of the RigidBody, fixes compilation errors with Logger and Profiler. 2020-02-01 13:41:30 +01:00
Daniel Chappuis
d36edcdb6e Rename DynamicsWorld class to PhysicsWorld 2020-01-27 17:46:00 +01:00
Daniel Chappuis
b0fde22678 Rename ProxyShape to Collider 2020-01-20 21:22:46 +01:00
Daniel Chappuis
5df91f2338 Merge rendering branch and fix conflicts 2020-01-17 17:11:19 +01:00
Daniel Chappuis
45b02abaec Add PhysicsCommon class and use it as a factory for other library objects and add pile demo in testbed application 2019-12-12 18:50:18 +01:00
Daniel Chappuis
43b818573a Improve rendering of testbed application (flat shading, 3 light sources, ...) 2019-10-21 07:22:18 +02:00
Daniel Chappuis
ca80d95d84 Add RigidBodyComponents class 2019-07-16 07:15:13 +02:00
Daniel Chappuis
569964e365 Remove Body class 2019-07-15 17:38:20 +02:00
Daniel Chappuis
29a0e03a13 Fix display of contact points in ray casting scene of the testbed application 2019-06-27 07:24:35 +02:00
Daniel Chappuis
112253cb81 Fix issue with display of contact points in testbed application 2019-06-27 07:16:47 +02:00
Daniel Chappuis
74b442077f Working on testCollision() and testOverlap() methods 2019-06-25 23:26:06 +02:00
Daniel Chappuis
ac0e620f02 Remove old code 2019-05-12 14:26:55 +02:00
Daniel Chappuis
d0fbab77ce Simplify broad-phase 2019-03-26 22:57:38 +01:00
Daniel Chappuis
d02b25d32a The proxy-shapes are now entities 2019-03-15 17:27:11 +01:00
Daniel Chappuis
c9ad132973 Use MSAA in testbed application 2018-04-27 17:47:31 +02:00
Daniel Chappuis
32e663a3ff Fix some TODOs in the code 2018-04-21 22:15:49 +02:00
Daniel Chappuis
d14e42be70 Refactor the way headers are included and use more forward declarations for faster compilation time 2018-04-20 07:13:39 +02:00
Daniel Chappuis
491702c05c Fix tests and fix compilation warnings 2018-04-16 18:52:02 +02:00
Daniel Chappuis
96c581ae9b Fix compilation warnings 2018-04-16 07:54:46 +02:00
Daniel Chappuis
5339b5ea4a Fix compilation warnings 2018-04-14 19:53:44 +02:00
Daniel Chappuis
95df1c9fdf Update CMakeLists.txt files and travis file 2018-04-06 17:23:44 +02:00
Daniel Chappuis
1aebf7703a Update the nanogui library that is used for the GUI of the testbed application 2018-04-04 07:14:58 +02:00
Daniel Chappuis
71bfa6afce Remove setLocalScaling() method from CollisionShape and ProxyShape and use scaling only for HeightFieldShape, ConvexMeshShape and ConcaveMeshShape 2018-03-26 22:00:52 +02:00
Daniel Chappuis
2e28b5ad8f Refactor profiler and add logger 2018-03-15 23:11:26 +01:00
Daniel Chappuis
393bb0ed88 Refactor profiler and start working on logger 2018-03-14 07:33:28 +01:00
Daniel Chappuis
cd2bc9665e Add WorldSettings class for world configuration settings 2018-03-04 19:10:32 +01:00
Daniel Chappuis
301823729d Remove the use of std::vector 2018-01-20 17:30:36 +01:00
Daniel Chappuis
584b28a91c Add Cube stack scene in the testbed application 2018-01-14 10:51:38 +01:00
Daniel Chappuis
4cc024b85e Rename fields and methods in ContactPoint class 2017-11-29 23:43:55 +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
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
c6f9378997 Enable vsync in the testbed application 2017-11-08 21:13:02 +01:00
Daniel Chappuis
7495ff6598 Refactor the testbed application and display objects AABBs 2017-11-02 22:58:41 +01:00
Daniel Chappuis
b1aad2b7c4 Refactor the testbed application 2017-10-19 17:42:21 +02:00
Daniel Chappuis
17d1ee3681 Change in the ConcaveMesh class of the testbed application 2017-10-09 23:35:30 +02:00
Daniel Chappuis
9b89f66667 Fix issues and refactor collision shape type and collision shape name 2017-08-31 23:11:00 +02:00
Daniel Chappuis
e725af80b6 Update raycasting test code for convex mesh and remove commented code 2017-08-22 07:38:22 +02:00
Daniel Chappuis
11589dbb2c Edit collision detection scene 2017-08-18 17:51:10 +02:00
Daniel Chappuis
8b82c4ac81 Refactor the way to create the contact manifolds and contact points 2017-07-30 22:14:46 +02:00
Daniel Chappuis
6e9a84823a Fix issues in collision detection 2017-07-17 08:05:40 +02:00
Daniel Chappuis
3ec8dddd91 Add box shapes in collision detection scene of testbed application 2017-05-29 22:31:33 +02:00
Daniel Chappuis
9d55255c56 Add contact point normals and constant color shader in testbed application 2017-05-17 23:40:17 +02:00
Daniel Chappuis
678c88d3bd Add box in collision detection scene for the testbed application 2017-05-16 07:11:18 +02:00
Daniel Chappuis
050e8b36dc Refactor convex mesh shape (create PolyhedronMesh, ConvexPolyhedron classes) 2017-03-22 19:07:31 +01:00
Daniel Chappuis
0ecd554f50 Update collision detection scene in testbed application 2017-02-27 19:06:28 +01:00
Daniel Chappuis
7a656aedc9 Working on HalfEdgeStructure 2017-02-13 22:38:47 +01:00
Daniel Chappuis
30e0132e15 Add capsule/capsule and capsule/sphere collision algorithm 2017-02-02 23:10:01 +01:00
Daniel Chappuis
e9f2f94f64 Continue working on SAT, remove Cone and Cylinder shapes 2017-02-02 22:58:40 +01:00