aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams2013-09-111-0/+11
| | | | implementation of physChangeLinkParams() in BSLinksetConstraint.
* BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams2013-09-111-0/+24
| | | | constraint. Add implementation to create spring constraint. Send up property updates for linkset children at the end of flexible linkset links. The simulator probably doesn't do the right thing yet.
* BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams2013-09-111-0/+2
|
* BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams2013-09-111-3/+3
|
* BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams2013-08-021-0/+2
| | | | | and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
* BulletSim: add BSLinkInfo structure to remember link specific informationRobert Adams2013-08-021-17/+34
| | | | | | for each link in a linkset. Extend BSLinksetConstraint to create and use BSLinkInfo with the default static constraint.
* BulletSim: distribute vehicle physical settings to all members ofRobert Adams2013-07-301-3/+15
| | | | | | a linkset. Enables constraint based linksets. Rename some internal variables to clarify whether values world or vehicle relative.
* Revert "Revert "BulletSim: Add logic to linksets to change physical ↵Robert Adams2013-07-231-2/+22
| | | | | | | | properties for"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 84d0699761b8da546f9faef084240d7b15f16321.
* Revert "Revert "BulletSim: move collision processing for linksets from ↵Robert Adams2013-07-231-1/+74
| | | | | | | | BSPrimLinkable"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit c45659863d8821a48a32e5b687c7b2a6d90b0300.
* Revert "BulletSim: move collision processing for linksets from BSPrimLinkable"Robert Adams2013-07-221-74/+1
| | | | | | The changes don't seem to be ready for prime time. This reverts commit b4c3a791aa55390bff071b3fe4bbe70c1d252703.
* Revert "BulletSim: Add logic to linksets to change physical properties for"Robert Adams2013-07-221-22/+2
| | | | | | The changes don't seem to be ready for prime time. This reverts commit b44f0e1a00eba7f76401692322e48a3b23a81164.
* BulletSim: Add logic to linksets to change physical properties forRobert Adams2013-07-221-2/+22
| | | | | | whole linkset. Override physical property setting for BSLinksetCompound as there are not children to the compound spape.
* BulletSim: move collision processing for linksets from BSPrimLinkableRobert Adams2013-07-221-1/+74
| | | | | | | | | | into the linkset implementation classes. Add HasSomeCollision attribute that remembers of any component of a linkset has a collision. Update vehicle code (BSDynamic) to use the HasSomeCollision in place of IsColliding to make constraint based linksets properly notice the ground. Add linkset functions to change physical attributes of all the members of a linkset.
* BulletSim: set linkset type to be prim specific rather than a simulatorRobert Adams2013-06-301-12/+4
| | | | | wide default. This allows individual prims to differ in the underlying linkset implementation.
* BulletSim: remove trailing white space to make git happier. No functional ↵Robert Adams2013-04-291-1/+1
| | | | changes.
* BulletSim: rename variable 'PhysicsScene' to be either 'PhysScene' or ↵Robert Adams2013-04-291-5/+5
| | | | 'm_physicsScene' to match coding conventions and reduce confusion.
* BulletSim: massive refactor of shape classes. Removed shape specific code ↵Robert Adams2013-04-291-8/+1
| | | | from BSShapeCollection. Using BSShape* classes to hold references to shape. Simplified shape dependency callbacks. Remove 'PreferredShape' methods and have each class specify shape type. Disable compound shape linkset for a later commit that will simplify linkset implementation.
* BulletSim: More work on center-of-mass. Remove linksetinfo and rely on ↵Robert Adams2013-02-121-0/+3
| | | | simulator to update info.
* BulletSim: fix avatar bobbing or jiggling while stationary flying.Robert Adams2013-02-081-0/+4
| | | | Various comments and debugging message mods.
* BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams2013-02-081-25/+23
| | | | layers for physical (vs simulator) location displacement and linksets.
* BulletSim: fix build break introduced by previous commitRobert Adams2013-01-231-5/+0
|
* BulletSim: allow changing position and rotation of a child of a linksetRobert Adams2013-01-211-1/+1
| | | | | without rebuilding the whole compound shape. Should make vehicles move smoother.
* BulletSim: move center of gravity of linkset to its geometric center.Robert Adams2013-01-111-1/+3
| | | | | | | Necessitated allowing simulator and physical position of a body to get out of sync since Bullet assumes that <0,0,0> is the center of mass. Update DLLs and SOs for the UpdateChildTransform so positions of individual prim in a linkset can be implemented.
* BulletSim: Fix single physical prim reporting its mass as zero.Robert Adams2012-12-241-12/+8
| | | | | | | 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.
* BulletSim: Move all the parameter variables, tables and get and fetch logic ↵Robert Adams2012-12-211-1/+1
| | | | to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
* BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams2012-12-161-1/+2
| | | | 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.
* BulletSim: rip out old code for linkset child position fetching. BulletSim ↵Robert Adams2012-12-161-7/+1
| | | | doesn't need to do that bookkeeping because SOG/SOP already does it.
* BulletSim: fix problem with continuious rebuilding of physical linksets. ↵Robert Adams2012-12-131-2/+7
| | | | This caused movement problems and large prim vehicles to take up a LOT of simulation time.
* BulletSim: Fix crash on the destruction of physical linksets.Robert Adams2012-12-101-0/+8
| | | | | | | | | 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.
* Rename BulletSim's PhysicsShapeType to BSPhysicsShapeType because itMelanie2012-11-221-2/+2
| | | | conflicts with PhysicsShape type defined in later libOMV
* BulletSim: uplevel PhysicsShapeType out of ShapeData structure (since it is ↵Robert Adams2012-11-211-2/+2
| | | | getting simplified out of existance someday) and update all the references to that enum.
* BulletSim: only compute linkset mass when membership changes rather than ↵Robert Adams2012-11-061-2/+6
| | | | everytime someone asks for it.
* BulletSim: parameterize selection of linkset implementationRobert Adams2012-11-031-10/+18
|
* BulletSim: debugging of compound shape implementation of linksets.Robert Adams2012-11-031-5/+14
| | | | | | | | | 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.
* BulletSim: Add RawPosition and RawOrientation to BSPhysObject and rename ↵Robert Adams2012-11-031-8/+8
| | | | MassRaw to RawMass. Fix BSShapeCollection to use Raw* for creating the body to eliminate exception from referencing the physical body before it has been created.
* BulletSim: Remove use of shapeData in ShapeCollection and rely on the ↵Robert Adams2012-11-031-0/+5
| | | | available BSPhysObject varaiables. Fix line endings in BSLinksetCompound.
* BulletSim: rename BSBody and BSShape to PhysBody and PhysShape. Add skeleton ↵Robert Adams2012-11-031-7/+0
| | | | of BSLinksetCompound.
* BulletSim: remove center-of-mass setting for linksets because it causes the ↵Robert Adams2012-11-031-1/+0
| | | | constraint calculation to pull the objects together.
* BulletSim: Use the PostTaints operation to build the linkset once before the ↵Robert Adams2012-11-031-32/+20
| | | | next simulation step. This eliminates the management of children vs taintChildren and simplifies the constratin creation code.
* BulletSim: remove unneeded parameter from Refresh().Robert Adams2012-11-031-1/+1
|
* BulletSim: add ForEachMember(action) call for linkset.Robert Adams2012-11-031-8/+28
|
* BulletSim: Add banking and other new code to vechile dynamics. Add third ↵Robert Adams2012-11-031-0/+2
| | | | party license and contributor in for for Aurora-Sim project for physics code.
* BulletSim: fix bug that caused error (and a crash on 32 bit Linux) when mesh ↵Robert Adams2012-10-221-5/+8
| | | | assets weren't already in the cache. Comment cleanups.
* BulletSim: Create LinkSet abstract class and sparate constraint based ↵Robert Adams2012-10-221-318/+37
| | | | linksets into own subclass. Will eventually add manual movement linkset subclass.
* BulletSim: Use full linkset mass when computing vehicle gravity force. Add ↵Robert Adams2012-10-111-6/+3
| | | | taint-time specification to new AddForce().
* BulletSim: cosmetic changes (comments and renaming). Give mass to terrain to ↵Robert Adams2012-10-111-18/+37
| | | | improve interactions.
* BulletSim: Fix crash when linking large physical linksets.Robert Adams2012-10-111-74/+63
| | | | | | | | 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.
* BulletSim: Fix linkset problem where delayed manipulations of child objects ↵Robert Adams2012-10-021-10/+8
| | | | was using the child shape address at call time rather than the one created at taint time.
* BulletSim: remove warnings for unused variables.Robert Adams2012-10-021-1/+1
|
* BulletSim: add separate runtime and taint-time linkset children lists to ↵Robert Adams2012-09-271-67/+78
| | | | keep the creation of constraints separate from runtime.