Commit Graph

1414 Commits

Author SHA1 Message Date
Daniel Chappuis
ee0203a343 Fix compilation error on Mac OS X 2020-05-10 16:11:03 +02:00
Daniel Chappuis
fe3d79b32d Merge branch 'master' into develop 2020-05-09 19:28:27 +02:00
Daniel Chappuis
5c736565a7 Add funding file 2020-05-09 19:19:00 +02:00
Daniel Chappuis
e04565fb48 Rename RigidBody::applyForce() to RigidBody::applyForceAtWorldPosition() and add RigidBody::applyForceAtLocalPosition() method 2020-05-09 00:09:38 +02:00
Daniel Chappuis
862db8f379 Edit change log file 2020-05-08 23:56:12 +02:00
Daniel Chappuis
dfc6710dc0 Merge and fix conflicts 2020-05-08 23:54:28 +02:00
Daniel Chappuis
c1f40ac456 Fix issue with limits of HingeJoint and SliderJoint 2020-05-08 15:10:49 +02:00
Daniel Chappuis
67e89e081b Working on debug renderer 2020-05-07 15:12:59 +02:00
Daniel Chappuis
0321cf4f89 Working on debug renderer 2020-05-06 15:21:25 +02:00
Daniel Chappuis
56077bba6b Working on debug renderer 2020-05-06 00:34:56 +02:00
Daniel Chappuis
fb0d3b52e9 Fix compilation error 2020-04-27 20:38:12 +02:00
Daniel Chappuis
92aa06ac35 Fix compilation error 2020-04-27 18:16:46 +02:00
Daniel Chappuis
2efe9d65da Fix issue with overlap callback 2020-04-27 15:54:57 +02:00
Daniel Chappuis
e03ee08462 Rename Logger class to DefaultLogger and create abstract Logger class 2020-04-26 18:41:59 +02:00
Daniel Chappuis
dcd71ef103 Improve EventListener: add onTrigger() method, add event types, add triggers, ... 2020-04-18 20:43:13 +02:00
Daniel Chappuis
a190bba8c0 Refactor where the headers are store for better installation of the library 2020-03-18 07:28:34 +01:00
Daniel Chappuis
7dde393fa5 Use Vector3 instead of Matrix3x3 for the local inertia tensor of a rigid body 2020-03-10 07:23:51 +01:00
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
9407651316 Fix issue when trying to install the library with cmake (wrong headers hierarchy) 2020-02-19 12:48:14 +01:00
Daniel Chappuis
28560d034e Add methods for the user to retrieve Colliders, CollisionBodies and RigidBodies 2020-02-17 17:36:44 +01:00
Daniel Chappuis
0ec26f5184 Compute the fat AABB by adding a percentage of the size of the initial AABB instead of using a constant offset. Do not use linear displacement anymore in inflate the AABB in direction of the motion in the broad-phase 2020-02-14 17:08:02 +01:00
Daniel Chappuis
7477460e4f Make possible to resize the collision shapes after their creation 2020-02-11 21:56:42 +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
36bdfe8037 Edit changelog file 2020-01-27 17:49:44 +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
eb270af309 Fix issue and make sure we use the correct memory allocators 2020-01-15 20:18:11 +01:00
Daniel Chappuis
77940a43f7 Add new memory allocator HeapAllocator 2020-01-13 17:02:59 +01:00
Daniel Chappuis
581f642280 Remove the MemoryManager::setBaseAllocator() method 2019-12-13 11:20:17 +01:00
Daniel Chappuis
24ac9e36c7 Edit changelog file 2019-12-13 11:05:59 +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
8eacae4b7b Merge branch 'master' into develop 2019-11-27 22:44:25 +01:00
Daniel Chappuis
2dfe254c86 Use memory allocators from ecs branch 2019-11-27 22:41:38 +01:00
Daniel Chappuis
815182aae9 Merge ecs into develop and fix conflicts 2019-11-27 22:14:29 +01:00
Daniel Chappuis
a7306f4fd2 Remove code from List tests 2019-11-26 07:09:40 +01:00
Daniel Chappuis
b94fbf7874 Some optimizations and fix issues in collision detection 2019-11-25 21:22:25 +01:00
Daniel Chappuis
acb5e0e51e Remove TODO 2019-11-25 17:33:46 +01:00
Daniel Chappuis
58df6cdaff Optimizations 2019-11-22 21:31:51 +01:00
Daniel Chappuis
46d19bf550 Some optimizations 2019-11-21 23:23:03 +01:00
Daniel Chappuis
901fc6aeb9 Revert "Small modifications"
This reverts commit 2746a8cfc0.
2019-11-19 22:28:36 +01:00
Daniel Chappuis
2746a8cfc0 Small modifications 2019-11-19 21:58:02 +01:00
Daniel Chappuis
d894a40d2e Working on middle-phase collision detection 2019-11-19 18:35:22 +01:00
Daniel Chappuis
7dcc86d746 Working on middle-phase collision detection 2019-11-18 07:29:04 +01:00
Daniel Chappuis
6b3a65b914 Working on middle-phase collision detection 2019-11-17 20:52:18 +01:00
Daniel Chappuis
44e07e0bd9 Working on making middle-phase collision detection faster 2019-11-09 23:55:54 +01:00
Daniel Chappuis
294d3b6665 Small fix 2019-10-28 23:16:26 +01:00
Daniel Chappuis
8580ab545b Fix issues 2019-10-28 23:08:42 +01:00
Daniel Chappuis
87614b7dad Add profiling code 2019-10-22 17:34:36 +02:00