Commit Graph

117 Commits

Author SHA1 Message Date
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
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
eb270af309 Fix issue and make sure we use the correct memory allocators 2020-01-15 20:18:11 +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
a7306f4fd2 Remove code from List tests 2019-11-26 07:09:40 +01:00
Daniel Chappuis
44e07e0bd9 Working on making middle-phase collision detection faster 2019-11-09 23:55:54 +01:00
Daniel Chappuis
db995ea52c Do not use callbacks for middle-phase collision detection 2019-08-04 23:24:48 +02:00
Daniel Chappuis
236a855c8d Remove Body::mId attribute 2019-07-04 20:24:09 +02:00
Daniel Chappuis
74b442077f Working on testCollision() and testOverlap() methods 2019-06-25 23:26:06 +02:00
Daniel Chappuis
3f5916a280 Working on testOverlap() and testCollisionMethods 2019-06-03 07:12:50 +02:00
Daniel Chappuis
ac0e620f02 Remove old code 2019-05-12 14:26:55 +02:00
Daniel Chappuis
f9451e1fe1 Refactor Stack class and add Set::toList() method in Set 2019-03-31 00:48:05 +01:00
Daniel Chappuis
d0fbab77ce Simplify broad-phase 2019-03-26 22:57:38 +01:00
Daniel Chappuis
1d6155aa6c Remove code to update proxy-shape broad-phase state from proxy-shape, move it to broad-phase system 2019-03-17 22:50:10 +01:00
Daniel Chappuis
0c3f5ae5e6 Add Deque container 2018-12-14 00:02:40 +01:00
Daniel Chappuis
23e16cf156 Merge develop into dod and fix conflicts 2018-09-09 22:08:55 +02:00
Daniel Chappuis
bcf305b118 Refactor contact points creation 2018-09-09 21:59:02 +02:00
Daniel Chappuis
e780399e5b Merge master into develop and fix conflicts 2018-08-27 08:11:57 +02:00
Daniel Chappuis
527cc7fbb7 Replace broad phase pair management custom array by List 2018-08-21 07:37:52 +02:00
Daniel Chappuis
f3be538499 Fix compilation issue of the unit tests 2018-08-05 16:10:13 +02:00
Daniel Chappuis
32e663a3ff Fix some TODOs in the code 2018-04-21 22:15:49 +02:00
Daniel Chappuis
b0f9cfd65a Fix compilation warnings 2018-04-21 20:03:44 +02:00
Daniel Chappuis
d55ba1d859 Fix compilation warnings 2018-04-20 07:18:13 +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
e0c624205c Fix compilation warnings 2018-04-15 23:25:21 +02:00
Daniel Chappuis
95df1c9fdf Update CMakeLists.txt files and travis file 2018-04-06 17:23:44 +02:00
Daniel Chappuis
d55c7e3b91 Fix memory leaks in tests 2018-03-29 07:40:24 +02:00
Daniel Chappuis
b1e5c029f7 Merge branch 'logs' into develop 2018-03-28 22:55:32 +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
80996d617a Fix issues in unit test for List 2018-03-16 07:57:06 +01:00
Daniel Chappuis
393bb0ed88 Refactor profiler and start working on logger 2018-03-14 07:33:28 +01:00
Daniel Chappuis
4177044f74 Replace testPointInside() and raycast() methods for ConvexMeshShape (do not used GJK anymore) and some small refactoring 2018-02-26 07:17:54 +01:00
Daniel Chappuis
f73e54bb6d Working on collision detection unit tests 2018-02-14 07:35:30 +01:00
Daniel Chappuis
1ac9bc3dba Working on collision detection unit tests 2018-02-13 07:20:00 +01:00
Daniel Chappuis
2146dd4427 Working on collision detection unit tests 2018-02-06 07:39:56 +01:00
Daniel Chappuis
1a787453e8 Replace std::pair by rp3d::Pair 2018-02-05 07:41:02 +01:00
Daniel Chappuis
e0fda18446 Replace malloc/free calls by use of the MemoryManager of ReactPhysics3D 2018-02-04 19:43:17 +01:00
Daniel Chappuis
b3e771838d Replace std::set by Set and fix issues with List and Map 2018-02-03 20:48:08 +01:00
Daniel Chappuis
220057a587 Remove the use of std::map and fix issues in Map class 2018-01-26 17:34:26 +01:00
Daniel Chappuis
301823729d Remove the use of std::vector 2018-01-20 17:30:36 +01:00
Daniel Chappuis
b1ecfb0fed Working on containers (List, Map) 2018-01-19 07:55:55 +01:00
Daniel Chappuis
ceb27760cb Working on containers 2018-01-14 10:47:39 +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
4f76553c59 Many small optimizations 2017-12-04 22:14:52 +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