Commit Graph

784 Commits

Author SHA1 Message Date
Daniel Chappuis
04e628b61a Add unit test for maths functions and fix unit test of AABB 2016-01-28 17:39:27 +01:00
Daniel Chappuis
03a31e44f3 Working on HeightFieldShape 2016-01-21 22:27:52 +01:00
Daniel Chappuis
538070ac4b Fix compilation errors on Linux 2016-01-20 21:38:28 +01:00
Daniel Chappuis
b9112be1dc Modification in ConvexShape and continue working on HeightFieldShape 2016-01-19 22:37:03 +01:00
Daniel Chappuis
ec3a9cef87 Modificaitons in ConcaveMeshShape 2016-01-14 21:43:19 +01:00
Daniel Chappuis
b7769e5211 Add HeightFieldShape class 2016-01-14 21:34:30 +01:00
Daniel Chappuis
739e0fec73 Modifications in methods to get support point in many collision shapes 2016-01-14 21:24:21 +01:00
Daniel Chappuis
a5f39de375 Fix issues related to local scaling in ConvexMeshShape 2016-01-12 22:48:14 +01:00
Daniel Chappuis
a64d737f67 Set the working directory of the testbed application when building with CMake for Visual Studio 2016-01-09 17:45:55 +01:00
Daniel Chappuis
a12703b86d Make possible to create a ConvexMeshShape using a TriangleVertexArray 2016-01-07 23:04:39 +01:00
Daniel Chappuis
8be408ccec Modifications for smooth concave mesh contacts 2016-01-05 18:39:22 +01:00
Daniel Chappuis
4362033018 Add object margin to TriangleShape 2015-12-16 18:39:13 +01:00
Daniel Chappuis
926fd1d352 Add unit test for the AABB class 2015-12-08 18:27:03 +01:00
Daniel Chappuis
0b6d9af18e Add testRayIntersect() method to AABB and use in raycasting broadphase 2015-12-07 23:03:04 +01:00
Daniel Chappuis
df88e59017 Transform ray from world-space to local-space earlier during raycasting 2015-12-07 17:32:18 +01:00
Daniel Chappuis
9c7f70b9b7 Add double sided raycast test for TriangleShape, add unit tests 2015-12-05 17:51:07 +01:00
Daniel Chappuis
6ebad66acf Working on triangles mesh raycasting 2015-12-02 22:25:52 +01:00
Daniel Chappuis
3ebb00fd68 Modifications in testbed for setScaling() method on objects 2015-11-24 07:03:02 +01:00
Daniel Chappuis
22b214fb91 Add setScaling() method to objects in testbed/common 2015-11-20 07:20:56 +01:00
Daniel Chappuis
3476f3e9c4 Add setLocalScaling() method to CollisionShape and ProxyShape and fix issue in collision detection test method 2015-11-19 07:20:43 +01:00
Daniel Chappuis
4eceb7e7c6 Small modifications 2015-11-16 19:08:36 +01:00
Daniel Chappuis
5b3509c920 Add concave mesh 2015-11-16 07:34:04 +01:00
Daniel Chappuis
5c8320583d Change the testCollision() methods to return void instead of bool 2015-11-16 07:25:46 +01:00
Daniel Chappuis
32d9c0e1b8 Fix issue in convex vs concave mesh collision 2015-11-16 07:05:07 +01:00
Daniel Chappuis
568f03461f Continue working on triangle mesh collision detection 2015-11-13 21:23:34 +01:00
Daniel Chappuis
9fd98f8efc Add Timer.h and Timer.cpp files back (used for Profiler) 2015-11-13 21:20:04 +01:00
Daniel Chappuis
d9fe3ed97f Make DynamicAABBTree more generic and use less memory per node 2015-11-06 17:29:42 +01:00
Daniel Chappuis
63094dfd92 Fix issue in ConcaveMeshShape (AABB calculation) 2015-10-27 18:34:29 +01:00
Daniel Chappuis
e135d4b592 Add Concave Mesh scene in testbed application 2015-10-26 18:15:56 +01:00
Daniel Chappuis
1c735e483c Working on triangular mesh collision detection 2015-10-26 18:15:25 +01:00
Daniel Chappuis
a070dca761 Small changes in ContactManifold 2015-10-19 17:59:41 +02:00
Daniel Chappuis
c3c9a5c38c Remove contact manifolds that do not have contact points anymore after manifold update 2015-10-19 06:55:35 +02:00
Daniel Chappuis
b5314040b5 Do not use contact normal choice when there is a single manifold 2015-10-16 06:54:25 +02:00
Daniel Chappuis
55789d5cdf Fix memory leak 2015-10-15 08:26:33 +02:00
Daniel Chappuis
85c6a2eaf5 Return manifold set by reference and not by pointer 2015-10-15 07:48:28 +02:00
Daniel Chappuis
20c9794a20 Remove ProxyShapes pointers from OverlappingPair 2015-10-13 19:10:13 +02:00
Daniel Chappuis
3acdeb8cd2 Remove dynamic memory allocation of ContactPointInfo instances during narrow-phase 2015-10-12 18:37:18 +02:00
Daniel Chappuis
c7846d4a29 Report narrow-phase contacts to the collision detection in a more generic way 2015-10-12 18:02:18 +02:00
Daniel Chappuis
ec5e41c19e Add ContactManifoldSet to allow several ContactManifolds per overlapping pair 2015-10-08 21:28:37 +02:00
Daniel Chappuis
535bc0bcc1 Add glew into the include directories of the testbed application 2015-10-08 21:18:49 +02:00
Daniel Chappuis
fc91540a79 Add ContactManifoldSet class 2015-10-02 07:04:05 +02:00
Daniel Chappuis
aab1413f4d Continue working of triangular meshes 2015-09-13 13:02:05 +02:00
Daniel Chappuis
a37f00c41c Use a CollisionShapeInfo instead of a ProxyShape in the collision detection algorithms 2015-09-10 07:30:50 +02:00
Daniel Chappuis
cd808fcf62 Modify the way the collision shapes are created (we don't make an internal copy anymore) 2015-09-04 19:56:27 +02:00
Daniel Chappuis
ae122f07d6 Add ConcaveShape et ConvexShape classes 2015-08-31 17:33:34 +02:00
Daniel Chappuis
0ddec3f842 Start working on triangular meshes collision detection 2015-08-27 22:31:05 +02:00
Daniel Chappuis
c76e5247aa Allow the user to use custom collision detection algorithm 2015-08-19 18:48:08 +02:00
Daniel Chappuis
7ce44f9775 Fix warnings 2015-08-17 06:44:26 +02:00
Daniel Chappuis
1bde11f245 Fix compilation errors on Visual Studio 2015-08-13 19:47:29 +02:00
Daniel Chappuis
aff7c2ec53 Update documentation 2015-08-13 19:12:51 +02:00