aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSConstraint.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: renamed members of BulletShape, BulletSim and BulletBodyRobert Adams2012-09-271-1/+1
| | | | | | | | | | | | 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: Way too many changes in one commit.Robert Adams2012-09-151-4/+12
| | | | | | | | | | | | | | | | | | | | Many changes to BSDynamic for readability and commentary. Linkset hacking for vehicles: don't over mass the root prim. Add parameter for link constraint solver iterations. Correct uses of timestep in timescale calculations for vehicles. Reorganize code/logic for making objects static and dynamic for readability and use of API2. Changed most calls in BSPrim to use API2 calls (the new way). Avatars do not generate default Bullet collision events but do call up to the simulator for every avatar. Reduces overhead. Objects added to collision list only if they are processing collisions. Reduces overhead especially for large numbers of avatars. Generalize call for water height to GetWaterHeightAtXYZ(). Catch and correct exception getting terrain height when out of bounds. Correct race condition in Terrain Manager where creation wasn't at taint-time. Add API calls for constructing compound shapes. Move NeedsMeshing() logic into object class. Reorganize logic for object meshing to reduce rebuilding of meshs/hulls.
* BulletSim: Add some comments (gasp) and log messages.Robert Adams2012-09-071-0/+4
|
* BulletSim: Changes to terrain storage and management so mega-regions work.Robert Adams2012-08-311-2/+1
| | | | | | | | | Moved all terrain code out of BSScene and into new BSTerrainManager. Added logic to manage multiple terrains for mega-regions. Added new functions to BulletSimAPI to match the library. Moved all of the terrain creation and setup logic from C++ code to C# code. The unused code has not yet been removed from either place. Soon. Moved checks for avatar above ground and in bounds into BSCharacter.
* BulletSim: clean up detail logging by adding many more debug log statements ↵Robert Adams2012-08-151-0/+6
| | | | and then commenting out most of the additions.
* BulletSim: add BSConstraint.RecomputConstraintVariables for the ↵Robert Adams2012-08-151-0/+17
| | | | recomputation after linksets changed, etc
* BulletSim: many, many detailed logging messages for physical linksetRobert Adams2012-08-101-1/+3
| | | | | | | | debugging. Linkset bugs fixed where accounting of children would get lost. Moved scene based vehicle tracking logic from prim to the scene. Added GetCollisionFlags2 method to BulletSimAPI. Updated DLLs and SOs.
* BulletSim: separate out the constraints by type. The linksets useRobert Adams2012-08-091-49/+11
| | | | | | 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.
* BulletSim: fix problem where resizing a primary shape (cube or sphere) would ↵Robert Adams2012-07-311-1/+1
| | | | not rebuild the physics mesh. Update the DLLs and SOs to latest version.
* BulletSim: add parameters and API calls for setting ERP and CFM.Robert Adams2012-07-311-1/+11
| | | | | | Set ERP and CFM in linkset constraints. Reorder rebuilding of object bodies so they are not rebuilt everytime something is linked and unlinked.
* BulletSim: remove unused, commented out code in BSConstraintRobert Adams2012-07-251-8/+0
|
* BulletSim: fix line endings in newly added files (Is it DOS or is it UNIX? ↵Robert Adams2012-07-251-123/+123
| | | | Only it's hairdresser knows for sure)
* BulletSim: Add C# classes for storing and tracking constraints.Robert Adams2012-07-251-0/+123