aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSNPlugin/BSLinksetCompound.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-12-23* Initial commit of BulletSimN (BulletSNPlugin). Purely C# implementation ↵teravus1-4/+4
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-17BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams1-7/+7
doing unsit, the order of operations on the prims and the vehicle is very chaotic and not in a good order so the root prim was being left physical and thus it fell for a bit. Also changed default of velocity scaling to be closer to the movement standard.
2012-12-16BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams1-20/+28
changes from the physics engine can be differentiated from changes made by the user. This eliminates a linkset rebuild loop. Also add logic to not rebuild or freak out when the object/linkset crosses a terrain boundry.
2012-12-16BulletSim: rip out old code for linkset child position fetching. BulletSim ↵Robert Adams1-14/+10
doesn't need to do that bookkeeping because SOG/SOP already does it.
2012-12-13BulletSim: fix problem with continuious rebuilding of physical linksets. ↵Robert Adams1-75/+80
This caused movement problems and large prim vehicles to take up a LOT of simulation time.
2012-12-13BulletSim: remove extra linkset rebuilds.Robert Adams1-18/+36
2012-12-11BulletSim: set mass for single prim linksets when going physical. This fixes ↵Robert Adams1-1/+8
single prim vehicles not working (the surf board now zooms).
2012-12-10BulletSim: Fix crash on the destruction of physical linksets.Robert Adams1-17/+96
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-12-09BulletSim: some comments about rebuilding linksets (having to recompute and ↵Robert Adams1-3/+6
restore a child's position in the world based on its position in the moved linkset).
2012-12-08BulletSim: set material properties for static objects. Move ↵Robert Adams1-0/+5
Linkset.MakeStatic() after call to ForceActivationState2() since linkset might change activation state. Make BSPrim.CreateGeomAndObject public as linkset rebuilding might need access to it. Only rebuild prim if selection state is actually changes -- OpenSimulator calls PhysObject.Selected() multiple times whenever a prim is selected or deselected.
2012-12-08BulletSim: update comments and add more to TODO list.Robert Adams1-3/+3
2012-11-22Rename BulletSim's PhysicsShapeType to BSPhysicsShapeType because itMelanie1-3/+3
conflicts with PhysicsShape type defined in later libOMV
2012-11-21BulletSim: uplevel PhysicsShapeType out of ShapeData structure (since it is ↵Robert Adams1-3/+3
getting simplified out of existance someday) and update all the references to that enum.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-273/+0
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-06BulletSim: recalculate the compound shape bounding box when built.Robert Adams1-0/+2
2012-11-03BulletSim: fix compound linkset crash by not freeing shape of child prims.Robert Adams1-5/+6
Remove all compilation warnings (mostly 'protected' in sealed classes.) Add the dynamicAabbEnable parameter to creation of compound shapes.
2012-11-03BulletSim: search the mesh and hull lists to find shapes if type is not ↵Robert Adams1-4/+6
known. This makes sure the correct accounting is done for the particular shape.
2012-11-03BulletSim: Move construction of compound linkset from ShapeCollectionRobert Adams1-16/+56
into LinksetCompound where it should be. Create meshes for native shapes when part of a compound linkset because scale is currently per object and not per collision shape. Don't schedule a LinksetCompound refresh if just changing properties.
2012-11-03BulletSim: debugging of compound shape implementation of linksets.Robert Adams1-26/+80
Add compound shape creation and freeing in shape manager. Add optional taint-time execution method and update code to use it. Add API2 linkage for more compound shape methods (get num, get/remove by index, ...) Modify perferred shape return so linkset children can have differet shapes than root. Add Position and Orientation calls to linksets so children can be moved around by the linkset by its own calculation. Allows for very general linkset implementations.
2012-11-03BulletSim: Remove use of shapeData in ShapeCollection and rely on the ↵Robert Adams1-172/+175
available BSPhysObject varaiables. Fix line endings in BSLinksetCompound.
2012-11-03BulletSim: rename BSBody and BSShape to PhysBody and PhysShape. Add skeleton ↵Robert Adams1-0/+173
of BSLinksetCompound.