Commit Graph

345 Commits

Author SHA1 Message Date
chappuis.daniel
e52796afe5 Change of license. ReactPhysics3D is now under MIT License
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@387 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-09-09 19:41:14 +00:00
chappuis.daniel
f61a9eeff7 Some optimizations in the constraint solver have been made
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@386 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-09-07 20:08:54 +00:00
chappuis.daniel
b9ddb0e2f1 Modification of the way the memory is free in the PhysicsWorld
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@385 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-09-05 07:56:24 +00:00
chappuis.daniel
5ba41b6fbf Correction of a bug because the interpolation factor was not computed at the right place
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@384 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-09-01 20:59:35 +00:00
chappuis.daniel
f3510fb281 Now the AABB is automaticaly computed for each RigidBody
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@383 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-09-01 16:37:13 +00:00
chappuis.daniel
4b6e2cd22b Cosmetic modifications to the code
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@382 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-27 10:00:25 +00:00
chappuis.daniel
898e9ba6f3 Optimization of the memory allocation in the constraint solver
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@381 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-27 09:21:33 +00:00
chappuis.daniel
592cfa4ad1 Correction of a bug with the initialization of a Vector to zero
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@380 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-26 15:16:10 +00:00
chappuis.daniel
1d3ba21775 Take care of the isCollisionEnabled state of a body in the Sweep And Prune broadphase algorithm
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@379 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-26 10:10:35 +00:00
chappuis.daniel
deaa0cf5d8 Modification of the friction coefficient
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@378 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-23 19:54:54 +00:00
chappuis.daniel
f0d7117a66 Perform some optimizations on the Matrix and Vector
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@377 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-18 21:04:50 +00:00
chappuis.daniel
756c050890 Correction of a bug with the contact caching
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@376 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-18 20:28:43 +00:00
chappuis.daniel
5277426ff8 Modifications of the Timer class to allow the user to start and stop the simulation correctly
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@375 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-18 14:50:36 +00:00
chappuis.daniel
859d8e409b Some modifications in the collision detection.
git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@374 92aac97c-a6ce-11dd-a772-7fcde58d38e6
2010-08-18 14:49:29 +00:00
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