blender/source/gameengine/Physics/Bullet
Erwin Coumans 52b0a2b3db PhysicsConstraints.createConstraint:
allow to dynamically create rigid body constraints while disable collision detection between connected bodies, pass as 10th argument the flag 128

PhysiPython KX_ConstraintWrapper, setParam
export setParam(paramIndex,paramValue0,paramValue1) for Physics constraints
paramIndex 0,1,2 are linear limits, 3,4,5 are angular limits, 6,7,8 are linear motors, 9,10,11 are angular motors

For example:
disableConnectedBodies=128
cons = PhysicsConstraints.createConstraint(oid,rid,generic6dof,pivotInAx,pivotInAy,pivotInAz,angleX,angleY,angleZ,disableConnectedBodies)
#params 0,1,2 are linear limits, low,high value. if low > high then disable limit
cons.setParam(0,0,0)

I will provide an example .blend for Blender 2.49
2009-05-24 01:55:24 +00:00
..
CcdGraphicController.cpp BGE: work around a problem with DBVT culling when graphic objects are rescaled. This happens when objects with very diverse scale are instantiated with dupligroup. The problem remains when the objects are rescaled during the game. The effect of the problem is an inefficient culling: objects can have a bounding box larger than needed. Patch to fix the problem is filed at Bullet forum. 2009-05-01 19:02:23 +00:00
CcdGraphicController.h BGE: work around a problem with DBVT culling when graphic objects are rescaled. This happens when objects with very diverse scale are instantiated with dupligroup. The problem remains when the objects are rescaled during the game. The effect of the problem is an inefficient culling: objects can have a bounding box larger than needed. Patch to fix the problem is filed at Bullet forum. 2009-05-01 19:02:23 +00:00
CcdPhysicsController.cpp Set default constraint solver mode more compatible to Blender 2.48 settings, this fixes rigid body stacking in this blend file: 2009-05-23 22:35:47 +00:00
CcdPhysicsController.h Set default constraint solver mode more compatible to Blender 2.48 settings, this fixes rigid body stacking in this blend file: 2009-05-23 22:35:47 +00:00
CcdPhysicsEnvironment.cpp PhysicsConstraints.createConstraint: 2009-05-24 01:55:24 +00:00
CcdPhysicsEnvironment.h BGE: new sensor object to generalize Near and Radar sensor, static-static collision capbility. 2009-05-17 12:51:51 +00:00
CMakeLists.txt BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
Makefile BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00
SConscript BGE modifier: generate correct physic shape, share static derived mesh, share display list. 2009-05-14 13:47:08 +00:00