aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: rename some constraint variables to be consistant with other name ↵Robert Adams2012-09-271-11/+31
| | | | | | | | | use. Added callbacks for shape and body changes in GetBodyAndShape() so the linkset constraints can be picked up and restored. A better design might be to have a "prim shape changed" event. Think about that. Added constraint types to general constraint class.
* BulletSim: Fix linkset crash. Caused by the different body and shapeRobert Adams2012-09-271-4/+16
| | | | | | | pointers at runtime and at taint-time. Now passes the body into the taint. Vehicles zero inertia when active to eliminate Bullet's contribution to vehicle motion.
* BulletSim: renamed members of BulletShape, BulletSim and BulletBodyRobert Adams2012-09-271-2/+2
| | | | | | | | | | | | so the members case is consistant. Caused modifications everywhere. New logic in BSShapeCollection to track use and sharing of shapes. I just reslized, though, that shapes cannot be shared because the shape's UserPointer is the localID of the prim and is required for tracking collisions. More changes coming. Added DuplicateCollisionShape2() to API and changed BuildNativeShape2 to take a ShapeData structure so don't have to pass so many parameters. This matches the latest version of BulletSim.dll. Additions and removal of DetailLog() statements for debugging.
* BulletSim: add hinge constraint.Robert Adams2012-08-151-6/+44
| | | | | | | Update BulletSimAPI with new constraint related function calls. Reorganize locking in BS6DofConstraint. Update BS6DofConstraint to do constraint reset correctly. Add new 'midpoint' construction of 6Dof constraint.
* BulletSim: separate out the constraints by type. The linksets useRobert Adams2012-08-091-0/+80
6dof constraint but eventually others will be exposed so future features can use all the Bullet capabilities. Force children to generate a position update when unlinked.