aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-12-31BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams1-5/+0
Only initialization and debug fuctions left.
2012-12-31BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams1-3/+3
(.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
2012-12-31BulletSim: another round of conversion: dynamics world and collision object ↵Robert Adams1-6/+6
functions.
2012-12-31BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams1-3/+3
BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
2012-12-27BulletSim: fix buoyancy so it's properly set by a script when anRobert Adams1-1/+1
object is selected. Update TODO list.
2012-12-27BulletSim: fix odd code that wasn't really recomputing the mass of aRobert Adams1-7/+7
rebuilt linkset. I was burnt by making get/set methods with side effects. I should know better.
2012-12-24BulletSim: Fix single physical prim reporting its mass as zero.Robert Adams1-6/+7
Properly return root mass as mass of just the root prim rather than the mass of the linkset. SOG has the logic to add the masses together to get the linkset mass. Update TODO list.
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-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.