erwin.coumans
90643bec75
fix problem with btCylinderShape creation in RollingFrictionDemo
2012-09-16 19:26:27 +00:00
erwin.coumans
4934ce61fa
tweak rolling friction in RaytestDemo
2012-09-16 17:23:39 +00:00
erwin.coumans
22fb7d5c1e
improve rolling friction using anisotropic direction, to avoid resting in an instable position
...
(for implicit capsule, cylinder and cone shape)
See Bullet/Demos/RollingFrictionDemo for an example
2012-09-16 17:01:25 +00:00
erwin.coumans
26c713423f
add RollingFrictionDemo
2012-09-15 07:03:23 +00:00
erwin.coumans
7eebb79ced
implemented rolling friction, using a contact constraint. Useful to get rolling spheres to rest, even on a slightly sloped plane.
...
See http://www.youtube.com/watch?v=RV7sBAsKu4M and Bullet/Demos/RollingFrictionDemo
Fixes in FractureDemo (mouse picking constraint needs to be removed, otherwise constraint solver crashes/asserts)
2012-09-15 06:52:17 +00:00
erwin.coumans
54744b6ab9
added gyroscopic force option for btRigidBody, body->setFlags(BT_ENABLE_GYROPSCOPIC_FORCE);
...
Note that it can easily introduce instability at regular (60Hertz) simulation steps so it is generally best to not use the option.
If needed, use a very small internal step, such as 1000 Hertz (world->stepSimulation(dt,100,1./1000.f); or stepSimulation(1./1000.,0);
2012-09-14 21:39:48 +00:00
erwin.coumans
3e9f35c0fd
Add btGearConstraint, with a demo in Bullet/Demos/ConstraintDemo
...
Thanks to Dimitris Papavasiliou for the idea.
2012-09-13 22:40:39 +00:00
erwin.coumans
2dfde77bac
delete some unused projects
2012-09-13 00:25:44 +00:00
erwin.coumans
47cae15fe5
add missing file in AllBulletDemosOSX
...
fix RaytestDemo CMakeLists.txt
2012-09-13 00:14:30 +00:00
erwin.coumans
737a2829bb
remove rigid body gpu pipeline, the latest version is at https://github.com/erwincoumans/experiments
2012-09-13 00:07:58 +00:00
erwin.coumans
c2f9d927c2
fix ray test kF_FilterBackfaces and kF_KeepUnflippedNormal flags
...
add Demos/RaytestDemo to show/test rayTest
fix premake batch files
2012-09-12 23:19:05 +00:00
erwin.coumans
73082e995c
enable AMD OpenCL sdk for linux too
...
Fixes Issue 641
2012-09-12 16:42:03 +00:00
erwin.coumans
9a460942a9
register the gimpact collision algoritm in the SerializeDemo by default
2012-09-11 22:28:41 +00:00
erwin.coumans
2871a3d30f
enable import/deserialization of optimizedBvh data in a .bullet file
2012-09-11 19:59:00 +00:00
erwin.coumans
4eb5240cbe
Applied patch for character controller by bjorn.wesen. Fixes Issue 644.
...
Fixed some warnings in double-precision compile
2012-09-11 04:36:57 +00:00
erwin.coumans
d99d9779a2
cast to char to avoid C++11 issue
...
Fixes Issue 716.
2012-09-11 03:58:11 +00:00
erwin.coumans
1b7642f0f5
Prepare for 2.81 release, increase version numbers
...
Fixed DNA serialization for C++11: avoid negative char values
Fixes 617. (needs to be tested)
2012-09-11 03:49:50 +00:00
erwin.coumans
8c56528a79
Avoid using restitution for ccd motion clamping. Restitution for fast moving objects should be handled by btDiscreteDynamicsWorld::createPredictiveContacts
...
(make sure to merge islands based on those predictive contacts too, added some check in the solver)
This fixes Issue 356.
Use same solver settings for AllBulletDemos
Make sure to embed the setCcdSweptSphereRadius inside the actual collision shape (for shoot box)
2012-09-11 03:12:32 +00:00
erwin.coumans
9612561113
add btDiscreteDynamicsWorld::createPredictiveContacts after discrete collision detection and add temporary contact manifolds, for the constraint solver.
...
This should improve 'ccd' handling when using world->getDispatchInfo().m_useContinuous = true;body->setCcdSquareMotionThreshold(...); body->setCcdSquareMotionThreshold(...)
shoot smaller boxes (test)
use yellow instead of orange for contact point normals
tweak default erp and erp2 values, now split impulse is on by default (need to check it)
2012-09-11 00:56:11 +00:00
erwin.coumans
9cfcabfc4c
disable all demos for premake4 iOS build (it only compiles HelloWorld, Benchmark and UnitTest for now)
...
add btAlignedFree to deleteCriticalSection
2012-09-10 16:02:30 +00:00
erwin.coumans
77b662d5fe
fix a few more warnings under Windows
...
fix linker issue due to unsigned/int variable
2012-09-10 04:46:39 +00:00
erwin.coumans
5417bae113
add zigzag heightfield for Ogre compatibility.
...
Fixes Issue 625. Thanks to KLLoyd!
2012-09-09 22:48:20 +00:00
erwin.coumans
f50cf5585a
fix MinGW compilation, use size_t instead of unsigned long
...
add missing virtual methods in SequentialThreadSupport
2012-09-09 22:19:54 +00:00
erwin.coumans
e2522c6f9b
re-enable debug drawing of box, instead of using the generic convex path.
...
Fixes Issue 622. Thanks for the report!
2012-09-09 22:08:23 +00:00
erwin.coumans
2fb970ce33
disable debug drawing in btCompoundCollisionAlgorithm
...
Fixes Issue 600.
Thanks to Stuart for the report.
2012-09-09 21:31:02 +00:00
erwin.coumans
6b8a571438
better fix for memory issue of BulletMultiThreaded
...
See Issue 271 and
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=&f=9&t=4043
2012-09-09 21:25:00 +00:00
erwin.coumans
ccfbb9fd79
revert memory deletions, should be done properly
2012-09-09 20:57:41 +00:00
erwin.coumans
491c91f486
fix memory leak in BulletMultiThreaded
...
Fixes Issue 271.
2012-09-09 20:53:55 +00:00
erwin.coumans
7bb4e0e1bd
fix ForkLiftDemo update (previous commit)
...
implement preallocate{Vertices,Indices} in btTriangleMesh. Fixes Issue 647.
2012-09-09 17:59:02 +00:00
erwin.coumans
ff72d64ffa
fix memory leak in Box2dDemo. Fixes Issue 619. Thanks to Joshua Downer for the report.
2012-09-09 17:31:10 +00:00
erwin.coumans
3b83428a7f
Applied polar decomposition patch. Fixes Issue 621. Thanks to Christian for the report, Joshua for the fix, Dongsoo for checking the fix.
...
Applied picking cloth patch. Fixes Issue 646. Thanks to Dongsoo.
Applied patch Softbody updateConstraints. Fixes Issue 503. Thanks to Dave Bruce Phillips and Dongsoo.
Fix various warnigns under Mac OSX.
2012-09-09 17:22:30 +00:00
erwin.coumans@gmail.com
e208f99289
clear all arrays when deleting data. Fixes Issue 645.
2012-09-08 20:05:53 +00:00
erwin.coumans
2700ba17c0
fix memory leak when calling initializePolyhedralFeatures
...
Fixes Issue 623, thanks for the report/patch!
2012-09-08 19:43:24 +00:00
erwin.coumans@gmail.com
f3d40957be
replace MAKE_ID by BT_MAKE_ID to avoid conflic with Blender code base. Fixes Issue 628, thanks to Sergey!
2012-09-08 19:33:47 +00:00
erwin.coumans
b69c6ac3f5
fix padding in btSolverConstraint, see Issue 650
...
fix some warnings
2012-09-08 19:21:14 +00:00
erwin.coumans@gmail.com
9065f59229
only use neon for armv7, quick commit through website
2012-09-06 05:22:17 +00:00
erwin.coumans
196aa20329
add m_splitImpulseTurnErp solver setting, initialized to 0.1: more stable recovery from deeper penetrations by reducing the angular effect (if split impulse is enabled)
...
Set it to 1.0 to disable the effect.
removed broken/not maintained heightfield fluid demo
add some API methods to btPersistentManifold
2012-09-03 04:38:08 +00:00
erwin.coumans
c1138535f9
use btAssert instead of assert
...
use __debugbreak for Windows MSVC asserts and asm volatile ("int3");\ on Mac OSX (__i386__ / __x86_64__)
2012-09-02 17:54:30 +00:00
erwin.coumans
c28f413e50
remove obsolete IBM Cell SDK makefiles
2012-09-02 17:38:51 +00:00
erwin.coumans
48966ec247
remove the need for ARM_NEON_GCC_COMPATIBILITY definition (arm/Apple/iOS)
2012-08-31 22:41:05 +00:00
erwin.coumans
84b1774dda
improve handling of restitution by using the velocity (linear/angular) before applying forces: this is done by re-introducing the btSolverBody and only apply the forces to solver body, and use the original rigid body velocity for restitution computation.
...
warmstarting for contact points was broken, fix in btPersistentManifold
enable split impulse by default (at the cost of some performance)
add the option for zero-length friction (instead of recomputing friction directions using btPlaneSpace), use the solver mode flag SOLVER_ALLOW_ZERO_LENGTH_FRICTION_DIRECTIONS
precompute lateral friction directions (in btManifoldResult)
remove the mConstraintRow[3] from btManifoldPoint, it just took a lot of memory with no benefits: fixed it in btParallelConstraintSolver
2012-08-31 19:46:24 +00:00
erwin.coumans
37ebcc3aa6
fix and re-enable sphere-box collision algorithm, Issue 643
...
Thanks to Laurent for the fix and Thomas for adapting the fix to latest trunk revision!
2012-07-31 17:17:51 +00:00
erwin.coumans
7f6131f0cc
fix soft body friction value, Issue 613
...
Thanks to Jarno for the report and fix.
2012-07-31 17:02:40 +00:00
erwin.coumans
1a3cbb0177
fix unit test under Ubuntu
...
fixes Issue 629, thanks to joshua.downer for the report and fix
2012-07-31 16:53:44 +00:00
erwin.coumans
a734e86453
fix autotools/autoconf see also
...
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8300&p=28416#p28416
2012-07-31 04:40:16 +00:00
erwin.coumans
10ed7bffd5
Fix serialization issue with btGeneric6DofSpringConstraintData, due to typo
...
Skip btGeneric6DofSpringConstraintData parts of the data that will be invalid in .bullet files version 280 or older
This fixes Issue 618, thanks to cyrfer for the report.
minor improvements in premake build (name library output so multiple Visual Studio installations don't conflict)
remove msvc folder
2012-07-24 04:07:25 +00:00
erwincoumans
78e1058b68
apply forgotten patch in a closed issue
...
http://code.google.com/p/bullet/issues/detail?id=573
Thanks to Andres Traks for the reminder!
2012-06-29 22:36:38 +00:00
erwincoumans
f9908667eb
fix xcode project in Extras/AllBulletDemosOSX and enable stencil shadows
2012-06-21 07:00:08 +00:00
erwin.coumans
73b217fb07
Apple contribution for OSX SSE and iOS NEON optimizations unit tests, thanks to Jordan Hubbard, Ian Ollmann and Hristo Hristov.
...
For OSX:
cd build
./premake_osx xcode4
for iOS:
cd build
./ios_build.sh
./ios_run.sh
Also integrated the branches/StackAllocation to make it easier to multi-thread collision detection in the near future. It avoids changing the btCollisionObject while performing collision detection.
As this is a large patch, some stuff might be temporarily broken, I'll keep an eye out on issues.
2012-06-07 00:56:30 +00:00
erwin.coumans
777b92a2ad
fix HACD/CMakeLists.txt to add .inl files for install fixes Issue 616
...
https://code.google.com/p/bullet/issues/detail?id=616&colspec=Modified%20ID%20Type%20Stars%20Status%20Owner%20Summary
fix Intel cmake build of ParticlesOpenCL and OpenCLClothDemo
disable debug printf
2012-05-30 19:22:54 +00:00