Commit Graph

736 Commits

Author SHA1 Message Date
Daniel Chappuis
a009debf21 Fix issue in the contact solver that reduces jittering 2013-09-03 19:31:50 +02:00
Daniel Chappuis
8db7823433 Continue to implement the sleeping technique 2013-09-03 19:30:43 +02:00
Daniel Chappuis
475ec5be5f Iterate over the islands to solve the contacts and joints 2013-08-31 19:03:21 +02:00
Daniel Chappuis
f1d29b5123 Implement the islands computation 2013-08-26 21:28:48 +02:00
Daniel Chappuis
2e6f571b98 Implement linear and angular velocity damping 2013-08-06 20:51:56 +02:00
Daniel Chappuis
d2f7f6e28c Release memory in the Sweep-And-Prune algorithm when several objects are removed from the world 2013-07-17 00:09:15 +02:00
Daniel Chappuis
828af79bcf Fix issues in the Sweep-And-Prune algorithm (thanks Aleksi for reporting them) and handle the broad-phase world limits in a better way 2013-07-16 22:28:03 +02:00
Daniel Chappuis
ffd79a89e3 Add the convex mesh collision shape 2013-07-15 19:10:30 +02:00
Daniel Chappuis
c3f4355c25 Modify the method that return the bounds of a collision shape and make the getSupportPoint() methods non-const 2013-07-15 19:09:07 +02:00
Daniel Chappuis
e4d283186f Modify some examples 2013-07-10 00:23:15 +02:00
Daniel Chappuis
88504bbb44 Add some description comments in the collision shapes 2013-07-10 00:22:40 +02:00
Daniel Chappuis
25b6b015b8 Add some private copy-constructors and private assignment operators 2013-07-10 00:21:31 +02:00
Daniel Chappuis
9d9142af30 Add the CapsuleShape class for the capsule collision shape 2013-07-10 00:18:55 +02:00
Daniel Chappuis
e081661d8c Add the Material class to store the material properties of a rigid body 2013-07-10 00:17:14 +02:00
Daniel Chappuis
a3ca3598d5 Remove the margin gap for the BoxShape and make possible to choose the collision margin when creating a collision shape 2013-07-03 22:50:00 +02:00
Daniel Chappuis
84d946ac48 Modifications of the examples 2013-07-03 22:42:58 +02:00
Daniel Chappuis
501b0747d3 Modifications in the examples 2013-07-02 23:14:08 +02:00
Daniel Chappuis
d58db2e6f2 Remove the gravity from the rigid body external force and allow the user to enable/disable the gravity for each body 2013-06-27 19:53:13 +02:00
Daniel Chappuis
3f90564149 Merge branch 'joints' into develop 2013-06-26 22:40:45 +02:00
Daniel Chappuis
d265a52b67 Modify the joints example 2013-06-26 22:29:23 +02:00
Daniel Chappuis
ce0078c2a9 Implement the non-linear-gauss-seidel position error correction 2013-06-26 22:28:31 +02:00
Daniel Chappuis
1c0726d9d6 Add the fixed joint 2013-06-12 20:43:54 +02:00
Daniel Chappuis
c4d6206ee2 Finish the implementation of the Hinge joint and some others modifications 2013-06-09 16:31:01 +02:00
Daniel Chappuis
9c0844cf1b Finish the implementation of the slider joint 2013-05-29 22:45:02 +02:00
Daniel Chappuis
61562b3560 Implement the upper limit for the slider joint 2013-05-23 22:52:08 +02:00
Daniel Chappuis
c7aa6e7e0e Start working of the SliderJoint limits 2013-05-22 23:38:30 +02:00
Daniel Chappuis
78abbaac72 Fix issues in the BallAndSocketJoint and SliderJoint 2013-05-21 23:03:14 +02:00
Daniel Chappuis
8f37d4ac98 Fix issues in the unit tests for Vector2 and Matrix2x2 2013-05-16 21:42:13 +02:00
Daniel Chappuis
74070ae400 Modify CMakeLists.txt file 2013-05-12 14:08:30 +02:00
Daniel Chappuis
0f17bd1b0b continue working on the slider joint 2013-05-12 12:43:07 +02:00
Daniel Chappuis
f23096af50 modify code in the Matrix2x2 class 2013-05-09 19:47:09 +02:00
Daniel Chappuis
7a2c2bdbd5 Add Vector2 and Matrix2x3 classes 2013-05-09 19:02:09 +02:00
Daniel Chappuis
b87f981827 Start working on the slider joint 2013-05-08 23:33:04 +02:00
Daniel Chappuis
da78e5d79a Modifications in the BallAndSocketJoint to make it work 2013-05-04 09:20:53 +02:00
Daniel Chappuis
af2fcaeb82 Fix two issues 2013-05-02 23:55:10 +02:00
Daniel Chappuis
0071ed16a8 Add comments in the dynamics world code 2013-05-02 22:51:31 +02:00
Daniel Chappuis
c4eee4fb1f Implement the Ball-And-Socket joint 2013-05-02 22:41:57 +02:00
Daniel Chappuis
44a26bdcab Add cmake configuration file to find GLEW library 2013-04-27 00:15:25 +02:00
Daniel Chappuis
434a168785 Add files for the joints example 2013-04-26 00:46:09 +02:00
Daniel Chappuis
fdda0b26a9 Modify the contact solver so that its main loop is outside the solver 2013-04-25 22:34:20 +02:00
Daniel Chappuis
ded465c105 Remove a file 2013-04-24 22:29:31 +02:00
Daniel Chappuis
2b2143d41e Continue the implementation of the constraint solver 2013-04-24 19:24:28 +02:00
Daniel Chappuis
471e4f7afc Start to implement the joints 2013-04-22 23:32:52 +02:00
Daniel Chappuis
f692f7ef12 Allocate memory for the collision shapes inside the physics engine 2013-04-22 21:25:40 +02:00
Daniel Chappuis
16c6487796 Change #ifndef names in headers to avoid name collision with others libraries 2013-04-18 22:54:36 +02:00
Daniel Chappuis
1e6efe7f9e Merge branch 'use_openglframework' into develop 2013-04-18 22:28:29 +02:00
Daniel Chappuis
5d205c2d7f Commit documentation modifications 2013-04-18 22:28:14 +02:00
Daniel Chappuis
91908c1bbc Continue to implement the examples using the openg-framework 2013-04-18 22:22:45 +02:00
Daniel Chappuis
a1bd7f7be9 Use the opengl-framework library for the examples 2013-04-14 21:32:40 +02:00
Daniel Chappuis
f84382bbbe Merge branch 'memory_allocator' into develop 2013-04-01 23:44:26 +02:00