erwin.coumans
79ef84f344
fix Issue 345 with kinematic objects
...
Thanks to nanocell http://code.google.com/p/bullet/issues/detail?id=345
2010-02-23 02:33:11 +00:00
erwin.coumans
9dfe040bee
Add some btTypedConstaint methods to btRaycastVehicle for backwards compatibility.
2010-02-21 00:30:17 +00:00
erwin.coumans
155254d448
remove warning, remove Jamfile from CMakeLists.txt, check for two static objects in solver.
2010-02-20 21:12:50 +00:00
erwin.coumans
1c0ec85c32
Retired the Jam build system (and msvcgen). CMake is currently the preferred build system on Windows, Mac and UNIX
...
(autotools files are still left for now)
2010-02-20 15:47:20 +00:00
erwin.coumans
85724b5500
SerializeDemo: create a testFile.bullet if it is missing
...
Serialization: remove obsolete autogenerated headers
Minor changes in btSequentialImpulseConstraintSolver: split methods to make it easier to derive from the class and add functionality.
2010-02-19 23:24:04 +00:00
erwin.coumans
45e7c7f564
Add missing files to XCode project
...
Add option to disable SPU collision processing, and add assert to detect unsupported recursive compounds on SPU.
2010-02-17 02:34:26 +00:00
erwin.coumans
d4c3633405
Get rid of btSolverBody and use btRigidBody directly. btSolverBody didn't improve performance after all, due to random-access
...
Tweak the BenchmarkDemo a bit:
1) disable deactivation in graphical mode
2) add some settings that increase performance in the BenchmarkDemo2 (1000 stack) from 35ms to 15ms on this quad core (at the cost of a bit of quality)
2010-02-11 20:30:56 +00:00
erwin.coumans
70c70bf681
cmake: don't install anything by default, unless the option INSTALL_LIBS is enabled
...
cmake: fix for multi-threaded benchmarks
2010-02-11 07:12:58 +00:00
erwin.coumans
97921411d2
cmake build system improvement: don't INSTALL when INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES is set
...
minor fix for MinGW32, reported here: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4710
2010-02-11 04:32:37 +00:00
erwin.coumans
7782952d6b
Add a minimum solver 'batch' size to avoid solving many small (independent) islands separately
...
Default size is 128 . Disable feature by using dynamicsWorld->getSolverInfo().m_minimumSolverBatchSize = 1;
2010-02-06 22:21:44 +00:00
erwin.coumans
04b7a7fff4
remove dead btSliderConstraint code
2010-02-05 01:51:57 +00:00
rponom
c31e2ed064
getInfo2NonVirtual() merged to getInfo2NonVirtualUsingFrameOffset() to reduce code size
2010-02-04 23:56:08 +00:00
erwin.coumans
0cb44b169d
variables were initialized in the wrong order (warning)
2010-02-04 23:12:31 +00:00
erwin.coumans
2e094c62ac
remove a little bit of code duplication, small fix (nrow should be srow), and initialize return value to SIMD_INFINITY for nonvalid parameters/axis.
2010-02-04 23:06:25 +00:00
rponom
5eeb624585
Bug fixed (m_useOffsetForConstraintFrame initialization)
2010-02-04 21:24:47 +00:00
erwin.coumans
99d9fddc42
add name for collision shape and constraint serialization (to objects, shapes and constaints can be mapped to user data)
...
updated serialization structures and header files (for new 'm_name' field, replacing user pointer)
fix issue with btGeneric6DofConstraint::setParam in headerfile
2010-02-04 05:28:17 +00:00
rponom
af1dafc659
Fix for the slider constraint (case when useLinearReferenceFrameA == false)
2010-02-04 01:21:45 +00:00
erwin.coumans
58c5630d7f
Add new demos to cmake: SerializeDemo and InternalEdgeDemo
...
Fix in btShapeHull for previous commit
Add support to serialize name for objects
Updated serialization structures.
2010-02-04 01:07:07 +00:00
erwin.coumans
87b313d715
Add flags to btRigidBody to disable world gravity.
...
Use setFlags/getFlags with BT_DISABLE_WORLD_GRAVITY
See http://code.google.com/p/bullet/issues/detail?id=324
2010-02-03 23:58:48 +00:00
erwin.coumans
219517db2d
move static globals inside static member functions, to avoid hassle with C#/CLI/C++ managed code, compile error C3820
2010-02-03 23:27:22 +00:00
erwin.coumans
1cd52f3d11
Removed empty constructors for constraints, I don't recall why we added them (possibly SPU) but if we really need them we have to revert this.
...
Moved static fixed body into a static function 'getFixedBody' to avoid issues when embedding Bullet in C#/CLI managed code.
2010-02-03 23:02:33 +00:00
erwin.coumans
d58081ce37
Provide easier access to CFM and ERP (and Stop ERP/Stop CFM) for constraints in a similar way to Open Dynamics Engine
...
virtual void btTypedConstraint::setParam(int num, btScalar value, int axis = -1) = 0;
virtual btScalar btTypedConstraint::getParam(int num, int axis = -1) const = 0;
Parameter can be BT_CONSTRAINT_ERP,BT_CONSTRAINT_STOP_ERP,BT_CONSTRAINT_CFM,BT_CONSTRAINT_STOP_CFM
Axis is 0 .. 5, first 3 for linear degrees of freedom, last 3 for angular. If no axis is specified it will take the 'default' degree of freedom. For a btHingeConstraint this would be the hinge axis (5)
2010-02-03 22:16:09 +00:00
erwin.coumans
788f48643b
remove all warnings on Mac OSX Snow Leopard
2010-01-30 22:31:56 +00:00
rponom
d5f5ddf2f1
Bullet debug draw added
...
It is off by default, see attributes of dSolverNode to turn it on
2010-01-30 04:21:12 +00:00
erwin.coumans
725411a1f3
added a warning to all serialization structures:
...
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
2010-01-27 02:41:38 +00:00
erwin.coumans
00f58e5a91
added basic serialization for several constraints including btPoint2PointConstraint, btHingeConstraint, btSliderConstraint, btConeTwistConstraint, btGeneric6DofConstraint
...
(no motor support or advanced settings yet)
added btStaticPlaneShape serialization
Added toggle in cmake for BenchmarksDemo to enable/disable graphics rendering
2010-01-27 02:13:56 +00:00
erwin.coumans
e7ff71d99b
add support for double precision and 64bit serialization (and compatibility between all versions)
...
fix some issue in serialization of nested array data
add some tesing files
2010-01-25 19:42:51 +00:00
rponom
e459145b91
Crash bug when "mesh" applied twice fixed
...
Constraints reworked - all of them could now work with one or two bodies
Modification of constraint frames and initial positions of rigid bodies
now allowed at start frame only
Plugin version is set to 2.76
2010-01-23 03:15:43 +00:00
erwin.coumans
0f707603f1
more work on serialization, work-in-progress
2010-01-23 00:04:58 +00:00
erwin.coumans
6af9f9434f
worked a bit more on the serialization, and added a preliminary SerializeDemo.
2010-01-21 00:17:18 +00:00
erwin.coumans
6b89f028bf
add newlines to files, thanks to tasioga for the patch
...
http://code.google.com/p/bullet/issues/detail?id=334
2010-01-20 21:33:35 +00:00
erwin.coumans
96d73d642d
fixes in debug drawer: always use rgba color with each component in range [0..1]
...
use sphere/box rendering of debug drawer
Thanks accodejockey for the report: See http://code.google.com/p/bullet/issues/detail?id=280
Also see http://code.google.com/p/bullet/issues/detail?id=279
2010-01-19 19:38:18 +00:00
erwin.coumans
4280f54ccf
Get rid of some warnings, mainly unused parameters/variables.
...
Thanks sparkprime for the patch, see http://code.google.com/p/bullet/issues/detail?id=330
2010-01-19 06:10:27 +00:00
erwin.coumans
63bb1bab94
fixes to make VC6 compiler (and its users) happy
2009-12-22 21:27:27 +00:00
erwin.coumans
b0e6e2f412
Expose vehicle maxSuspension force (instead of hard-coded 6000 value).
...
Thanks blakflow for the patch, see Issue 290
2009-12-21 22:59:12 +00:00
erwin.coumans
fcd2b93a22
fix in box-box contact generation: choose better contact point location (along contact normal) when objects are swapped.
...
move debugDrawWorld to btCollisionWorld.
improved CollisionInterfaceDemo, show how to perform a closest point query for objects that are not in the collision world.
removed a bit of garbage from the debug drawer
2009-12-18 00:54:52 +00:00
erwin.coumans
0c85c74bae
removed stack allocator (was unnecessary/unused)
...
Thanks to Brecht for the report: http://code.google.com/p/bullet/issues/detail?id=303
2009-12-13 20:48:52 +00:00
erwin.coumans
91f1e8117b
Add serialization for btRigidBody (all work-in-progress)
2009-12-09 14:11:13 +00:00
rponom
0d80aa855e
Improved math precision for btHingeConstraint and btSliderConstraint (btAtan2() used instead of btAtan2Fast())
2009-12-02 00:53:53 +00:00
rponom
f919baf03d
Improved Slider, Hinge and Generic6DOF constraint setup.
...
Turned on by default, use m_useOffsetForConstraintFrame = false to use old setup
Use "O" (capital 'o') button to toggle it in SliderConstraintDemo and ConstraintDemo
Total applied impulse copied back from btSolverConstraint to btTypedConstraint
2009-11-25 23:52:12 +00:00
erwin.coumans
d96818d994
minor fixes in cmake build system, they caused troubles with CMake 2.8 and Xcode
2009-11-17 02:45:37 +00:00
rponom
da9937e06e
Bug in btGeneric6DofSpringConstraint::setEquilibriumPoint(int index) fixed
2009-11-05 18:34:19 +00:00
erwin.coumans
4c3af9c95f
use LIB_SUFFIX to install under lib${LIB_SUFFIX}, for example /usr/lib64
...
Thanks to brumahe for the patch
http://code.google.com/p/bullet/issues/detail?id=174
compile BulletMultiThreaded also on 64 bit
2009-11-03 06:01:00 +00:00
erwin.coumans
703582f4fa
apply fix for btAcosf/btAsinf (numerical issue causes values of X become slightly larger than 1 or smaller than -1, causing NaNs)
...
manually add some missing files to msvc projectfiles for now
fix in box-box collision detector, preventing it to fail in some rare cases
remove redundant line in btHingeConstraint, thanks to teravus
fix mouse drag camera rotation issue (modulo 360 instead of 180)
2009-10-09 23:35:00 +00:00
erwin.coumans
da4a1b14b5
Add support for target motion and slip/cfm for both friction directions.
...
It can be handy for effects such as powered conveyor belt effect or sideways slipping tyre friction.
2009-09-18 07:48:15 +00:00
erwin.coumans
172b87188b
install BulletCollision/btBulletCollisionCommon.h and BulletDynamics/btBulletDynamicsCommon.h (but also keep the file in the root destination)
...
Thanks to ejtttje
http://code.google.com/p/bullet/issues/detail?id=265
2009-09-17 21:33:29 +00:00
erwin.coumans
ed09140fb7
remove some warnings, thanks to Zenja http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=4063
2009-09-09 23:51:30 +00:00
erwin.coumans
659b215a69
Override btCollisionWorld::addCollisionObject with flags more appropriate for btDynamicsWorld (StaticFilter)
...
Minor fixes (#ifndef SPU_COLLISION_OBJECT_WRAPPER_H block etc)
Only update 'setNumTasks' when necessary
Revert vectormath.h include (can't resolve conflicts with PS3 SDK, need additional #include path)
2009-09-09 22:49:43 +00:00
erwin.coumans
34699f6de6
+ add option to set pre-tick callback, called at the beginning of each internal simulation step
...
+ use real-time for soft body demo (using this pre-tick callback)
+ optimize the generation of bending constraints for the special case where the distance is 2
2009-08-14 21:36:51 +00:00
erwin.coumans
d7c7c0c9ef
avoid one redundant motionstate synchronization
...
minor warning fix
2009-08-11 23:50:59 +00:00