Commit Graph

745 Commits

Author SHA1 Message Date
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
chappuis.daniel
b61edcc494 Implementation of Projected-Gauss-Seidel LCP solver done
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@323 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-24 19:35:01 +00:00
chappuis.daniel
09b82aa42a git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@322 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-05-21 16:36:00 +00:00
chappuis.daniel
2f6cde24ee Add the initWithValue() method
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@321 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-19 21:43:27 +00:00
chappuis.daniel
06f7b0552d Add the initWithValue() method
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@320 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-19 21:42:52 +00:00
chappuis.daniel
d37110fc38 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@319 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-05-19 19:46:11 +00:00
chappuis.daniel
a4e7560e21 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@318 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-05-17 21:45:01 +00:00
chappuis.daniel
870223ba87 Add the conversion from Vector3D to Vector
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@317 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-17 21:44:38 +00:00
chappuis.daniel
96786c2f9e Make it compile
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@316 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-17 21:38:51 +00:00
chappuis.daniel
ad63586b52 Change the solve() method
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@315 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-17 21:30:49 +00:00
chappuis.daniel
eddd501bae Add conversion from Vector to Matrix
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@314 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-17 21:30:11 +00:00
chappuis.daniel
9677d4fbae Continue to implement this class
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@313 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-03 22:41:07 +00:00
chappuis.daniel
4018a12c56 Use uint shortcut.
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@312 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-03 22:40:32 +00:00
chappuis.daniel
bbe85ebced git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@311 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-05-03 22:40:00 +00:00
chappuis.daniel
f578eee6f5 Add of this file to use some type shortcuts
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@310 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-03 21:59:01 +00:00
chappuis.daniel
de95cb4d90 Add of this file to use some type shortcuts
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@309 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-05-03 21:45:21 +00:00
chappuis.daniel
3a13c0ebd6 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@308 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-04-14 21:53:06 +00:00
chappuis.daniel
ba60a97dd6 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@307 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-04-12 22:33:27 +00:00
chappuis.daniel
8b1ef8a5fc git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@306 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-04-12 22:28:24 +00:00
chappuis.daniel
5293491b3b git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@305 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-04-12 22:27:50 +00:00
chappuis.daniel
6ed69219c7 git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@304 92aac97c-a6ce-11dd-a772-7fcde58d38e6 2010-04-07 14:40:46 +00:00