erwin.coumans
3e5fc86a6c
Iterate only over non-static rigid bodies, instead of all collision objects
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=18&t=3625
http://code.google.com/p/bullet/issues/detail?id=128
Attempt to fix issue in mesh striding, multiple-mesh-parts were broken.
2009-06-11 01:25:10 +00:00
erwin.coumans
33029ad996
updated demos -> ALT + mouse uses Maya-style controls, replaced BMF_Fonts by GLDebugFont
...
fix debug drawing of btMultiSphereShape
added box2d demo
added experimental gpu 2d demo
2009-05-09 19:27:14 +00:00
erwin.coumans
0905002e3f
make sure to be backwards compatible with spubullet 2.73 sp1 (PLAYSTATION 3 version)
2009-03-03 20:30:31 +00:00
erwin.coumans
90f96aec27
Introduced btActionInterface. This makes it easier to extend user-defined actions, such as vehicles and characters.
...
btRaycastVehicle and btKinematicCharacterController are derived from btActionInterface now.
Some cosmetic cleanup: changed sourceforce/sf.net url to bulletphysics.com.
2009-03-03 16:18:23 +00:00
erwin.coumans
8acadeb711
minor tweaks to demos: enable constraint debug drawing in AllBulletDemos, default constraint debugging size set to 0.3,
...
set svn:eol-style native for folder files
http://code.google.com/p/bullet/issues/detail?id=191
2009-02-18 22:52:03 +00:00
rponom
e7ca0e6a9c
Bug in Generic 6DOF joint fixed
...
Debug visualization of joint constraints was added
2009-01-16 03:04:07 +00:00
erwin.coumans
f9aa7f3b53
Add Character control to btDiscreteDynamicsWorld (moved btCharacterControllerInterface/btKinematicCharacterController functionality from demo)
...
Remove ibmsdk from CcdPhysicsDemo and CollisionDemo
2008-11-08 21:01:20 +00:00
erwin.coumans
ce0bdd891d
added synchronizeSingleMotionState, thanks Chunky.
2008-11-08 19:34:05 +00:00
erwin.coumans
075ba0b9d9
Enabling USE_SEPDISTANCE_UTIL2 requires 100% reliable distance computation, but there are issues with large size rations. todo: fix this
...
Make synchronizeMotionStates() pure virtual in btDynamicsWorld and public in btDiscreteDynamicsWorld. Thanks Chunky.
2008-11-08 19:27:53 +00:00
erwin.coumans
86353f0ad8
add btActivationCollisionAlgoritm to fix deactivation problems, reported here:
...
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2616
provide access to active objects, requested here:
http://code.google.com/p/bullet/issues/detail?id=128
2008-11-07 03:37:14 +00:00
erwin.coumans
28e580c203
removed STL usage of Extras/ConvexBuilder and replaced by btAlignedObjectArray
...
fixed several warnings, thanks to sparkprime
added comments patch for linear math, thanks to Tully Foote
2008-10-28 18:52:46 +00:00
erwin.coumans
60fa900995
Added CCD motion camping, to avoid tunneling.
...
Not as versatile compared to btContinuousDynamicsWorld but still useful.
2008-09-11 18:13:56 +00:00
erwin.coumans
7838a5c980
provide interface for setting the number of tasks (unused in the btDiscreteDynamicsWorld).
2008-08-07 00:02:37 +00:00
erwin.coumans
d49aeb9dff
+ improved split impulse constraint solver option
...
+ improved friction warm starting
+ made constraint solver configuration more consistent (moved m_solverMode into btContactSolverInfo)
+ reset timing in CDTestFramework after initialization (SAP init destorts timings)
+ make it easier to change default sizes for stack allocator in btDefaultCollisionConfiguration
2008-05-29 03:33:32 +00:00
johnmccutchan
8fff5c54e9
Added name fields to Collision Object and Shape.
...
Added name field to Typed Constraint.
Added accessor for gravity in dynamics world.
2008-01-30 01:52:07 +00:00
ejcoumans
17a214a2b3
- Added btRigidBodyConstructionInfo, to make it easier to set individual setting (and leave other untouched) during rigid body construction.
...
This was harder using default arguments. Thanks Vangelis Kokkevis for pointing this out.
- Fixed memoryleak in the ConstraintDemo and Raytracer demo.
- fixed issue with clearing forces/gravity at the end of the stepSimulation, instead of during internalSingleStepSimulation.
Thanks chunky for pointing this out: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1780
- Disabled additional damping in rigid body by default, but enable it in most demos. Set btRigidBodyConstructionInfo m_additionalDamping to true to enable this.
- Removed obsolete QUICKPROF BEGIN/END_PROFILE, and enabled BT_PROFILE. Profiling is enabled by default (see Bullet/Demos/OpenGL/DemoApplication.cpp how to use this).
User can switch off profiling by enabling define BT_NO_PROFILE in Bullet/src/btQuickprof.h.
2007-12-17 04:26:36 +00:00
ejcoumans
947dc8d33d
Moved the 'btRigidBody::clearForce' to the end of the stepSimulation, instead of in each substep.
...
Should help with this issue, reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1601
We can optionally leave out the 'clearForces'.
Thanks everyone for the discussion.
2007-12-12 02:53:51 +00:00
ejcoumans
a45912e39c
move updateAabbs from dynamics world to collision world
2007-12-10 02:59:04 +00:00
ejcoumans
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +00:00
ejcoumans
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
fd1e672fcb
updated demos to show debug display with new AllBulletDemos (AllInOne),
...
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +00:00
ejcoumans
e7caaa28d3
re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators.
2007-10-20 02:23:39 +00:00
ejcoumans
1f7646f72a
Refactoring to enable multi SAP broadphase.
...
This was already planned, and Pierre Terdiman recent thread motivated me to decouple the paircache from the sweep and prune.
http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1329
2007-08-02 23:48:46 +00:00
ejcoumans
0df4cedc3e
added 'getConstraintSolver' and ability to 'reset' (set randseeds back to zero, and clear internal caches)
2007-07-27 23:54:22 +00:00
ejcoumans
685138d033
include paths should not be relative starting with "../
...
It leads to problems with certain compilers, when Bullet/src is located in a long pathname.
Keep include path starting with "LinearMath/, "BulletCollision/, or "BulletDynamics/
2007-07-14 05:08:57 +00:00
ejcoumans
e33f5390dd
added patch from Marten Svanfeld to pass collision filter group/mask in addRigidbody.
2007-06-29 19:37:30 +00:00
ejcoumans
ced94d63bf
Thanks to Mårten Svanfeldt for the contribution:
...
- optionally disable collisions between bodies that are linked with constraints
- improved debug rendering with support for compounds, spheres, capsules
2007-06-28 19:14:30 +00:00
ejcoumans
054d672592
- removed STL from the Bullet library: replace std::vector by btAlignedObjectArray. Also removed the std::set for overlapping pair set, and turned it into an overlapping pair array. The SAP only adds objects, never removed. Removal is postponed for during traversal of overlapping pairs (duplicates and non-overlapping pairs are removed during that traversal).
...
- added heap sort and binary search/linear search to btAlignedObjectArray
- fixed wrong cast, thanks Hamstray, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1015
2007-03-06 09:59:17 +00:00
sjbaker
e9b21e21a6
Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.
...
Includes of files in the local hierarchy must not use <...> please stick with "..."
2006-12-26 15:33:28 +00:00
ejcoumans
df9230327c
Contribution to add optional double precision floating point support. Define BT_USE_DOUBLE_PRECISION for all involved libraries/apps.
2006-12-16 05:51:30 +00:00
ejcoumans
6dff5a218e
process contact and non-contact constraints inside the same iteration loop
...
added first draft for hingeConstraint motor
2006-12-12 03:15:11 +00:00
ejcoumans
6738ed329d
ASSERT -> btAssert
...
Added btStackAlloc to Bullet (right now only used by btGjkEpa)
removed default constructors of btCollisionWorld/btDiscreteDynamicsWorld, to reduce link-time dependencies
2006-11-29 01:52:09 +00:00
ejcoumans
4a23f4f438
added get methods for constraints
2006-11-21 00:29:11 +00:00
ejcoumans
4050da0e2f
One of the last parts of the refactoring (hopefully), made most members of btCollisionObject protected.
...
Also did some work on improving the constraint solver.
2006-11-02 03:42:53 +00:00
ejcoumans
3a6942fb91
processed a lot of feedback: added 'realtime' simulation with fixed substeps (and clamping maximum number of substeps), this means that when stepSimulation is called with smaller timesteps then 'fixed substep' the motionstate is interpolated.
...
renamed m_ccdSweptSphereRadius,
enabled wireframe debugDrawObject (using debugDrawer)
2006-10-18 03:28:42 +00:00
ejcoumans
a337372905
added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody
2006-10-11 06:07:14 +00:00
ejcoumans
bf847b839a
another large series of changes, related to the refactoring.
...
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
2006-10-06 05:22:13 +00:00
ejcoumans
01a6290cf7
more refactoring, restored some profiling and some debugging
2006-09-30 02:26:51 +00:00
ejcoumans
d38549aa54
more refactoring, removed PhysicsInterface, cleaned up demos to make use of btDynamicsWorld derived classes.
...
removed two cached optimizations, type in btTransform and cached inverse transform (todo: test performance impact)
committed fixes that make the code adhere to 'who creates it, also destroys it'
2006-09-30 01:36:39 +00:00
ejcoumans
14397a2f72
confusion about memory management, and removed obsolete PhysicsInterface code.todo: updated the demos that still use this code
2006-09-29 19:57:23 +00:00
ejcoumans
2b1657b1dd
Refactoring: another huge number of changes, renamed methods to start with lower-case.
2006-09-28 01:11:16 +00:00
ejcoumans
d0f09040e9
fixed some merging conflicts
2006-09-27 20:58:49 +00:00
ejcoumans
eb23bb5c0c
merged most of the changes from the branch into trunk, except for COLLADA, libxml and glut glitches.
...
Still need to verify to make sure no unwanted renaming is introduced.
2006-09-27 20:43:51 +00:00
ejcoumans
a54f928b60
added vehicle simulation
2006-09-27 00:08:24 +00:00
ejcoumans
2a602aefa1
added replacement for CcdPhysicsEnvironment
2006-09-26 23:55:35 +00:00