Commit Graph

186 Commits

Author SHA1 Message Date
ejcoumans
8a98639d78 fixed a crashing bug (NULL strings) and change the viewing angle of default camera in the demo 2007-01-31 20:57:14 +00:00
ejcoumans
e8ca371a71 Workaround for bad PhysX Collada .dae export from Maya:
It seems whenever the <rigid_body> has <extra> 	<technique profile="PhysX"><kinematic>true</kinematic> this <rigid_body> should have <dynamic> false</dynamic>.
2007-01-31 03:22:52 +00:00
ejcoumans
581468ceec Added btCapsuleShape. This could already be simulated by simply adding 2 spheres to the btMultiSphereShape, but this was bad documented/unknown.
For tapered capsules, you can still use btMultiSphereShape, just pass 2 spheres with different radius.
2007-01-30 00:09:08 +00:00
ejcoumans
7b5301bb43 accept constraint with single rigidbody 2007-01-19 03:48:54 +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
sjbaker
8d92ca34c2 Windows programmers: Beware! The case of the filename is significant in #include directives - even though the lame-ass M$ compiler doesn't check it. 2006-12-23 16:20:00 +00:00
ejcoumans
bba68d6072 work on buildsystem to allow double precision visual build setting in autogenerated visual studion projectfiles 2006-12-23 06:53:51 +00:00
sjbaker
db573e4a59 Clean up about a bazillion compilation warnings. 2006-12-22 02:33:42 +00:00
ejcoumans
4685bb8c4b added DoublePrecisionDemo, still needs review and autogenerated projectfiles/cmake/Jamefiles 2006-12-21 19:04:32 +00:00
ejcoumans
62c93b02bb fixed issue with missing COLLADA Physics asset 2006-12-20 21:23:58 +00:00
ejcoumans
818b672f60 updated autotools support for make, while keeping jam support. other options are cmake and msvc builds. 2006-12-17 05:35:41 +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
13b637f1ce updated build configuration to include make, next to jam. So ./configure will create Makefile AND Jamefile. 2006-12-15 18:24:31 +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
9022f8cc70 fixes for buildsystem 2006-12-09 01:19:15 +00:00
ejcoumans
f9832f6b88 updated build systems/GPU_physics for Mac OS X 2006-12-08 22:04:02 +00:00
ejcoumans
bf591b44ec Replaced most STL std::vector with btAlignedObjectArray.
Same interface but less features (push_back, pop_back, clear, size, [] etc).
To prepare for SIMD/SSE code: Added 		#define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
2006-12-06 04:22:36 +00:00
ejcoumans
b6d1b4c94e Added btNearCallback. This is similar to Open Dynamics Engine (ODE) dNearCallback, but important differences:
- contact points are persistent (lifetime more then one frame, for warmstarting/incremental contact point management)
- continuous collision detection, time of impact
Added btRigidBody::isInWorld(), returns true if btRigidBody is inside a btCollisionWorld/btDynamicsWorld derived class
Added angularFactor to btRigidbody, this helps some character control (no angular impulse applied)
2006-12-04 15:42:03 +00:00
ejcoumans
71145de242 renamed ConcaveShape to btConcaveShape
added btHeightfieldTerrainShape (not done yet)
2006-11-29 02:11:25 +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
94abde9287 Added Genscher's triangle-triangle case (it was not a but) 2006-11-22 19:42:15 +00:00
ejcoumans
460a09c5a5 fixed some issue, to make GCC happy 2006-11-20 19:21:59 +00:00
sjbaker
6bb806d26b More cleanup. 2006-11-20 06:48:45 +00:00
sjbaker
04d41b7a0a Cleanup compilation warnings. 2008-02-12 04:22:31 +00:00
ejcoumans
62104ba082 updated constraint demo, jamfile 2006-11-18 03:33:09 +00:00
ejcoumans
3adf09f7e3 updated EPA,
updated user manual (work in progress)
2006-11-18 03:27:01 +00:00
ejcoumans
b07bb88a2d Added new EPA penetration depth solver
improved gjk/minkowski sampling pd method
added original solver variant, use btSequentialImpulseConstraintSolver2
Added Pierre Terdimans PD testbed
2006-11-16 06:14:12 +00:00
ejcoumans
dcdfbe1680 more tweaking to get GJK more reliable 2006-11-15 02:23:45 +00:00
ejcoumans
b5afb11282 Work on some improvements for GJK/PenetrationTestBullet.cpp. if this introduces issue, will need to revert. 2006-11-14 21:53:59 +00:00
ejcoumans
be175e888e 2006-11-14 05:09:11 +00:00
ejcoumans
711b737293 Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 07:54:27 +00:00
ejcoumans
125a9c673d Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 07:46:30 +00:00
ejcoumans
5f91cc237d updated demo, can't stepFront 2006-11-12 07:30:09 +00:00
ejcoumans
06a1de2574 updated build files for GIMPACT 2006-11-12 07:05:37 +00:00
ejcoumans
a9172d8684 Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 06:15:19 +00:00
ejcoumans
86c27a7c9d Work on fixing some GJK issues reported by Pierre Terdiman (thanks Pierre for the testbed!)
Improved this penetration test with more verbose output
retrieve worldtransform from motionstate when rigidbody gets motionstate assigned
2006-11-11 23:59:51 +00:00
ejcoumans
18b0603c69 2006-11-11 19:33:19 +00:00
ejcoumans
aaa6b687a9 disable EPA demo 2006-11-11 06:49:17 +00:00
ejcoumans
98fa2a38e8 updated some jamfiles, for Extra folder 2006-11-11 06:40:55 +00:00
ejcoumans
8cbd721a1f added some brute-force way to shrink convex polyhedra (to compensate collision margin)
made Extra/EPA compile again, updated Pierre's testbed to compile out-of-the-box
2006-11-11 03:22:15 +00:00
ejcoumans
56e135874b added angular limits to the Generic D6 constraint. Works for small angles. Will add a check for different combinations, and use different extraction of ordering of rotation from the diff quaternion.
Improved vehicle interpolation of wheels, and added Z-up axis option for the Demo
made 'getWorldTransform' const method in btMotionState
added future 'deactivationCallback'(not used yet)
2006-11-10 04:00:16 +00:00
ejcoumans
442ce2ec09 updated VehicleDemo to show Z as up-axis, rather then Y.
proper gravity for BspDemo
2006-11-09 19:55:14 +00:00
ejcoumans
4ab4fc8bb1 Integrated fixes for Solaris from Noerghel, http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=673 2006-11-09 15:27:02 +00:00
ejcoumans
5102b7ac60 added very basic debug drawing for vehicle wheels, and updated raycast in world to do ray-aabb instead of aabb-aabb 2006-11-09 04:43:18 +00:00
ejcoumans
6d47d9492e added non-uniform scaling to btMultiSphereShape
added ray-aabb check
modified Raycast demo to be more useful for debugging collision shapes
2006-11-09 01:58:33 +00:00
ejcoumans
c3ed55057c - added linear limits to btGeneric6DofConstraint and made sure the linear axis are in local space of objectA
- use microseconds instead of milliseconds for deltatime
2006-11-07 02:32:52 +00:00
ejcoumans
074e2b2d3b improved robustness of penetrations involving triangles and boxes, by adding their 'preferred' penetration directions.
added wireframe/solid mode for meshes
updated solid penetration depth solver (comparison in Extras)
2006-11-05 05:12:10 +00:00
sjbaker
6c61060339 Cleaned up some compile-time warnings. 2006-11-04 15:34:56 +00:00
ejcoumans
23c64fb0db more solver experiments, randomize the order of contact points, not just manifolds
use #defines for constants, rather then const btScalar
2006-11-04 05:22:36 +00:00
ejcoumans
07873854a4 more small refactoring: some methods were still upper-case. 2006-11-03 04:32:48 +00:00