Commit Graph

715 Commits

Author SHA1 Message Date
chappuis.daniel
619c70dc48 Add AABB bounding volume and implementation of the Sweep And Prune broad-phase algorithm
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@373 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-05 15:06:34 +00:00
chappuis.daniel
d3edeedd31 The attributes of the OBB have to be protected instead of private
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@372 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-28 11:45:31 +00:00
chappuis.daniel
b7d4a9e177 Remove the physics.h library include
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@371 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-28 11:31:46 +00:00
chappuis.daniel
fa8abdb708 Remove Kilogram and Time classes
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@370 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-28 11:29:46 +00:00
chappuis.daniel
62d6a44e24 Remove Kilogram and Time classes
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@369 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-28 11:20:44 +00:00
chappuis.daniel
824c4f95c0 Modify some TODO things
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@368 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-28 11:19:00 +00:00
chappuis.daniel
b9750898b2 Remove BodyState and DerivativeBodyState
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@367 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-24 17:19:32 +00:00
chappuis.daniel
9987a5c659 Remove BodyState and DerivativeBodyState
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@366 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-24 17:14:29 +00:00
chappuis.daniel
8fbf330da5 Add contact caching to improve the convergence rate of the constraint solver
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@365 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-23 12:51:26 +00:00
chappuis.daniel
b22ed95c83 Delete the integration folder
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@364 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 20:01:16 +00:00
chappuis.daniel
7f4c6833cb git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@363 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:42:47 +00:00
chappuis.daniel
35d95ddaeb git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@362 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:35:50 +00:00
chappuis.daniel
76f066f0d3 Modification of the update() method
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@361 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 19:35:35 +00:00
chappuis.daniel
5f2b65a8b8 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@360 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:34:35 +00:00
chappuis.daniel
efe29ae94e Remove some commented code
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@359 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 19:32:12 +00:00
chappuis.daniel
367f6b3cac git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@358 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:27:42 +00:00
chappuis.daniel
3ccc537378 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@357 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:24:12 +00:00
chappuis.daniel
0cb6b91c3f Add epsilon values in some functions
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@356 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 19:23:58 +00:00
chappuis.daniel
be8028b835 Correct some bugs with the contact generation
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@355 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 19:23:31 +00:00
chappuis.daniel
1cc6a39fb6 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@354 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:22:25 +00:00
chappuis.daniel
b0f2dbadcd Correct the cutoff coefficient to 0.99
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@353 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-19 19:22:11 +00:00
chappuis.daniel
730c2d33f5 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@352 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:21:48 +00:00
chappuis.daniel
b43c6a42a3 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@351 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-19 19:21:33 +00:00
chappuis.daniel
f57cd95dba Throw an exception if the argument to setRestitution() is not between 0 and 1
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@350 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-09 10:05:02 +00:00
chappuis.daniel
874d96ad00 Change the cutoff to 0.9 to avoid a bug
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@349 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-08 12:30:14 +00:00
chappuis.daniel
880664c27e Add some assert() statements
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@348 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-08 07:31:22 +00:00
chappuis.daniel
8acb0910eb Set the cutoff to 0.99 to correct a bug
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@347 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-08 07:30:41 +00:00
chappuis.daniel
448052fc82 Now, the linear velocity of the body cannot be change if isMotionEnabled is false
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@346 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-06 12:47:19 +00:00
chappuis.daniel
df4f379dde Correction of a bug in the constraint solver
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@345 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-06 12:46:04 +00:00
chappuis.daniel
7b19ce4ef8 Collision response done
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@344 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-05 20:52:16 +00:00
chappuis.daniel
57b2448111 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@343 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-07-05 20:50:26 +00:00
chappuis.daniel
92dabf7f7f Add the isCollisionEnabled and isMotionEnabled value
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@342 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-05 19:29:14 +00:00
chappuis.daniel
23438486a6 Add the restitution coefficient
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@341 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-07-05 10:27:35 +00:00
chappuis.daniel
70e22a2dd8 Use inertia tensor in world coordinates instead of body coordinates into the solver
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@340 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-19 20:17:05 +00:00
chappuis.daniel
716081d982 move conversions Quaternion <-> Matrix3x3 from Matrix3x3.h into Quaternion.h
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@339 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-19 20:15:44 +00:00
chappuis.daniel
0f38e643a3 Add the getInertiaTensorWorld() and getInertiaTensorInverseWorld methods
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@338 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-19 20:14:43 +00:00
chappuis.daniel
53ed7b1b3a use std::abs() from <cmath> instead of abs() from <cstdlib>
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@337 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-16 21:12:31 +00:00
chappuis.daniel
085740e765 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@336 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-16 21:04:51 +00:00
chappuis.daniel
282c004599 use std::abs() from <cmath> instead of abs() from <cstdlib>
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@335 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-16 21:04:36 +00:00
chappuis.daniel
479c2c0d1e use std::abs() from <cmath> instead of abs() from <cstdlib>
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@334 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-16 21:04:04 +00:00
chappuis.daniel
4e19ab899d constraintBodies is now a std::set
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@333 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-15 21:16:31 +00:00
chappuis.daniel
9695ab5556 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@332 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-11 21:23:47 +00:00
chappuis.daniel
6ff9026fd5 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@331 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-10 20:49:07 +00:00
chappuis.daniel
ff8c689870 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@330 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-09 21:40:13 +00:00
chappuis.daniel
f2beab0fcf git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@329 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-08 21:03:35 +00:00
chappuis.daniel
99de21bcaa git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@328 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-08 21:03:11 +00:00
chappuis.daniel
903e543695 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@327 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-08 21:02:11 +00:00
chappuis.daniel
decc06037a git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@326 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-06 21:18:49 +00:00
chappuis.daniel
639e91b21b Correction of some errors
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@325 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-06-05 22:22:06 +00:00
chappuis.daniel
2f9a12f887 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@324 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-06-04 15:41:20 +00:00