Commit Graph

60 Commits

Author SHA1 Message Date
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
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
82ba30caa6 fixed 2 issues, one related to wrong 'safety' catch for large objects
and COLLADA constaints didn't recognize rigid body names
2006-10-31 02:11:29 +00:00
ejcoumans
b14ccdaa57 rename treshold into thresold (spelling mistake)
added cr/linefeed at end of btDefaultMotionState.h
2006-10-30 05:06:46 +00:00
ejcoumans
289c5ca7fe improvements/bugfixes related to kinematic(animated) objects, synchronizeMotionStates 2006-10-19 15:20:38 +00:00
ejcoumans
940e753086 made demos working for realtime 2006-10-18 04:32:00 +00:00
ejcoumans
33b3ec94f1 more fixes, related to introduction of btMotionState, and using realtime timestep 2006-10-18 04:01:07 +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
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
323a1046fd Cleaned up/simplified construction of a btRigidBody
Fixed memoryleak in btOptimizedBvh (delete []m_contiguousNodes;)
Changed DemoApplication::localCreateRigidBody, so it adds the rigidbody to the btDynamicsWorld.
Added check for duplicate objects in world when adding.
Added assert to prevent setLinearVelocity on static rigidbodies
Added btCollisionFilterGroups to btBroadphaseProxy
removed duplicate 'btBroadphaseProxy*	m_broadphaseProxy;' in btRigidBody
2006-10-04 23:46:27 +00:00
ejcoumans
d85ecfe5c2 removed more duplicate iterators 2006-10-03 18:01:24 +00:00
ejcoumans
dcf007ca38 more refactoring for CMake buildsystem 2006-09-30 02:51:35 +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
2b1657b1dd Refactoring: another huge number of changes, renamed methods to start with lower-case. 2006-09-28 01:11:16 +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
0e04cfc806 First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00
sjbaker
f1627677df Fixed over 500 compile warnings. Mostly:
* Unused variables.
* Missing newlines at ends of #included files.
* signed int loop variables where the termination condition is an unsigned 'get number of' function.
* 'NULL' used inappropriately for an integer or character constant (NULL is a pointer)
* abstract base classes with no virtual destructor.
* Floating point constants used to initialise integer variables.
2006-09-23 14:51:54 +00:00
ejcoumans
7dea1a911c filename fixes 2006-09-20 03:48:58 +00:00
ejcoumans
43370aaa4f first step in refactoring/cleaning up demos 2006-09-11 05:31:22 +00:00
ejcoumans
1bbd779aa3 added ColladaConverter.cpp to cmakelist 2006-09-07 00:44:34 +00:00
ejcoumans
fa96109cd9 Exposed another glut method (the demos really require cleanup soon!)
First steps for a raycast-vehicle demo (far from finished)
2006-09-05 07:36:55 +00:00
ejcoumans
815ec6178e Collada Converter minor fix in load 2006-09-02 00:34:03 +00:00
ejcoumans
59b6f509ff improved COLLADA physics support, with respect to instancing.
Can read Ageia 'CreateDynamics' exported files again.
See http://codesuppository.blogspot.com/
2006-09-01 23:42:14 +00:00
ejcoumans
4cdcee8871 updated CMakeLists.txt to include LibXML and LibColladaDom, and use better naming for libs. This should allow autogeneration of visual studio projectfiles, and Apple XCode projectfiles for COLLADA_DOM demo. 2006-08-28 01:26:31 +00:00
ejcoumans
e11b86cf4c endian-check bug? 2006-08-11 23:38:38 +00:00
ejcoumans
e2b6d4ee65 some changes related to BspDemo 2006-08-11 23:01:25 +00:00
ejcoumans
955858a48b Added Quake BSP loading to the ColladaDemo example. This can become utility to transform bsp2dae 2006-08-11 21:24:35 +00:00
ejcoumans
ac9c70cbbf Added Quake BSP loading to the ColladaDemo example. This can become utility to transform bsp2dae 2006-08-11 21:24:14 +00:00
ejcoumans
04e57189c8 added compound support in COLLADA physics import 2006-08-01 05:37:54 +00:00
ejcoumans
235b49d748 COLLADA import, avoided some crashes, improved <convex_mesh> support 2006-07-29 00:54:31 +00:00
ejcoumans
b8cbfe5f72 Basic support for COLLADA physics constraints (each DOF can be completely locked or free, no limits yet) 2006-07-28 21:49:26 +00:00
ejcoumans
63594284c3 - quick workaround in the COLLADA-DOM to handle INF/-INF
- started few lines into COLLADA constraint importing
2006-07-28 02:47:26 +00:00
ejcoumans
bb4b099583 2006-07-27 01:45:06 +00:00
ejcoumans
2e64928d96 Improved conformance, added Auto-Camera UP support (from asset <up_axis>Y_UP</up_axis>)
Added the Bullet signature for export (comment/author/authoring_tool)
2006-07-26 21:54:08 +00:00
ejcoumans
750af5c197 updated COLLADA 'physics snapshot' export 2006-07-26 07:25:07 +00:00
ejcoumans
44ff483ad6 allow to export simulation to COLLADA 2006-07-26 03:03:22 +00:00
ejcoumans
60ce7413fe added COLLADA <plane> support (uses StaticPlaneShape ) 2006-07-18 19:38:56 +00:00
ejcoumans
08464b1964 Added COLLADA-DOM import for concave triangle <mesh> 2006-07-18 04:42:27 +00:00
ejcoumans
f2743251f7 recent changes didn't import convex_mesh 2006-07-17 05:14:16 +00:00
ejcoumans
9f9f35f847 working towards better COLLADA 1.4i physics conformance for the DOM 2006-07-16 22:26:11 +00:00
ejcoumans
ccad7b2f22 'Think Different': enabled some demos to compile for OS X -i386 2006-07-10 05:25:06 +00:00
ejcoumans
3a85557c29 Refactoring for parallel processing of islands, collision detection and constraint solving. 2006-06-30 00:41:09 +00:00
ejcoumans
324b18b719 minor type in simdvector3, no picking on fixed objects, no run-time type info 2006-06-21 05:22:43 +00:00
ejcoumans
c4cd297f22 step the simulation 1 frame, so the initial starting position is ok.
added comment how to use FCollada instead of COLLADA_DOM
2006-06-19 22:03:07 +00:00
ejcoumans
51fb1b25fc added missing libxml2 files, and config.h (for linux). todo: both configwin32.h for win32, and configure for non-windows 2006-06-19 02:01:26 +00:00
ejcoumans
ddf9973fba preliminary convex hull support using COLLADA_DOM,
draw convex hull in wireframe (point cloud doesn't have triangles)
2006-06-18 07:04:21 +00:00
res2002
c875616bbb Typo 2006-06-17 18:44:49 +00:00
res2002
0f54c5c8f5 Add Extras/FCollada as an include path for appColladaDemo. 2006-06-17 18:43:06 +00:00
ejcoumans
3c6993e45e - CcdPhysicsDemo also uses Generic6DofConstraint (testing with mouse picking).
- HingeConstraint back to old method by default (comparison)
- FCollada by default in ColladaDemo
2006-06-14 02:51:47 +00:00