aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSNPlugin/BSConstraint.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-135/+0
2013-01-20* Dumping BulletSimNPlugin in favor of combining the APIteravus1-135/+0
2012-12-23* Initial commit of BulletSimN (BulletSNPlugin). Purely C# implementation ↵teravus1-3/+3
of BulletSim. This is designed to be /as close as possible/ to the BulletSim plugin while still being entirely in the managed space to make keeping it up to date easy as possible (no thinking work). This implementation is /slower/ then the c++ version just because it's fully managed, so it's not appropriate for huge sims, but it will run small ones OK. At the moment, it supports all known features of BulletSim. Think of it like.. POS but everything works. To use this plugin, set the physics plugin to BulletSimN.
2012-12-21BulletSim: Move all the parameter variables, tables and get and fetch logic ↵Robert Adams1-1/+1
to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
2012-12-10BulletSim: Fix crash on the destruction of physical linksets.Robert Adams1-2/+2
While fixing the above, add methods to physical body and shape pointer wrapper so routines won't have to know that IntPtr.Zero means no physical instance. Fix problem with physical linksets failing after a few sits and unsits by properly restoring child prom positions for compound linksets after multiple selection and deselections.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-37/+14
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-03BulletSim: code rearrangementRobert Adams1-6/+6
2012-10-22BulletSim: fix bug that caused error (and a crash on 32 bit Linux) when mesh ↵Robert Adams1-1/+3
assets weren't already in the cache. Comment cleanups.
2012-10-22BulletSim: remove trailing spaces to make git happy.Robert Adams1-1/+1
2012-10-11BulletSim: Fix crash when linking large physical linksets.Robert Adams1-3/+10
Properly remove and restore linkage constraints when upgrading a prim's mesh to a hull. Lots more debug logging. Definitions and use of Bullet structure dumping. Centralize detail logging so a Flush() can be added for debugging.
2012-09-27BulletSim: rename some constraint variables to be consistant with other name ↵Robert Adams1-9/+12
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.
2012-09-27BulletSim: renamed members of BulletShape, BulletSim and BulletBodyRobert Adams1-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.
2012-09-15BulletSim: Way too many changes in one commit.Robert Adams1-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.
2012-09-07BulletSim: Add some comments (gasp) and log messages.Robert Adams1-0/+4
2012-08-31BulletSim: Changes to terrain storage and management so mega-regions work.Robert Adams1-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.
2012-08-15BulletSim: clean up detail logging by adding many more debug log statements ↵Robert Adams1-0/+6
and then commenting out most of the additions.
2012-08-15BulletSim: add BSConstraint.RecomputConstraintVariables for the ↵Robert Adams1-0/+17
recomputation after linksets changed, etc
2012-08-10BulletSim: many, many detailed logging messages for physical linksetRobert Adams1-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.
2012-08-09BulletSim: separate out the constraints by type. The linksets useRobert Adams1-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.
2012-07-31BulletSim: fix problem where resizing a primary shape (cube or sphere) would ↵Robert Adams1-1/+1
not rebuild the physics mesh. Update the DLLs and SOs to latest version.
2012-07-31BulletSim: add parameters and API calls for setting ERP and CFM.Robert Adams1-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.
2012-07-25BulletSim: remove unused, commented out code in BSConstraintRobert Adams1-8/+0
2012-07-25BulletSim: fix line endings in newly added files (Is it DOS or is it UNIX? ↵Robert Adams1-123/+123
Only it's hairdresser knows for sure)
2012-07-25BulletSim: Add C# classes for storing and tracking constraints.Robert Adams1-0/+123