aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/BulletS/BSLinksetConstraints.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-01Moved ExtendedPhysics from OptionalModules to Bullet project, because it's ↵Diva Canto1-2/+0
very much an optional Bullet feature. This way, Bullet doesn't need to depend on the OptionalModules dll. No changes in configs or behavior.
2015-08-30Renamed the namespaces tooDiva Canto1-1/+1
2015-08-30Major renaming of Physics dlls / folders. No functional changes, just renames.Diva Canto1-0/+0
2014-11-30BulletSim: add shape and linkset rebuild scheduled flags. Add ↵Robert Adams1-10/+18
BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
2014-08-21BulletSim: add new Bullet 2.82 constraint type codes and rename theRobert Adams1-6/+6
BulletSim fixed constraint to not be confused with the native version.
2013-09-11BulletSim: add LSL function and plumbing for setting a springRobert Adams1-1/+19
equilibrium point in the physics engine constraint.
2013-09-11BulletSim: add extended physics LSL constants for axis specification.Robert Adams1-32/+57
Add specific error warnings for mis-matched parameter types in extended physics functions.
2013-09-11BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams1-8/+45
parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
2013-09-11BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams1-15/+36
for spring constraints. Renumber parameter ops since I can as no one is using them yet.
2013-09-11BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams1-11/+41
Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.
2013-09-11BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams1-15/+17
Update routines to use the new parameters list from above change.
2013-09-11BulletSim: add ID parameter to TaintedObject calls so logging will include ↵Robert Adams1-2/+2
LocalID of object which created the taint.
2013-09-11BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams1-24/+69
and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
2013-09-11BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams1-21/+124
implementation of physChangeLinkParams() in BSLinksetConstraint.
2013-09-11BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams1-0/+22
as case variables in switch statements.
2013-09-11BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams1-54/+31
constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
2013-09-11BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams1-3/+99
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.
2013-09-11BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams1-5/+6
the linkset physics at next PostTaint time. Replace the existing calls to ScheduleRebuild to be calls to Refresh(). This allows external routines to make changes to parameters and then cause the linkset to rebuild.
2013-09-11BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams1-14/+67
2013-09-11BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams1-4/+4
2013-08-02BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams1-0/+1
and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
2013-08-02BulletSim: add BSLinkInfo structure to remember link specific informationRobert Adams1-67/+138
for each link in a linkset. Extend BSLinksetConstraint to create and use BSLinkInfo with the default static constraint.
2013-07-23Revert "Revert "BulletSim: freshen up the code for constraint based linksets.""Robert Adams1-21/+61
Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 44543ebe638f391fc1c7ff532fe4470006dec55a.
2013-07-22Revert "BulletSim: freshen up the code for constraint based linksets."Robert Adams1-61/+21
The changes don't seem to be ready for prime time. This reverts commit 803632f8f32d91bb4aec678d8b45a8430c2703e1.
2013-07-22BulletSim: freshen up the code for constraint based linksets.Robert Adams1-21/+61
2013-04-29BulletSim: rename variable 'PhysicsScene' to be either 'PhysScene' or ↵Robert Adams1-8/+8
'm_physicsScene' to match coding conventions and reduce confusion.
2013-04-29BulletSim: massive refactor of shape classes. Removed shape specific code ↵Robert Adams1-2/+2
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.
2013-02-17BulletSim: rework parameter setting for different types of valuesRobert Adams1-2/+2
(like vectors or quaternions).
2013-02-08BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams1-15/+15
layers for physical (vs simulator) location displacement and linksets.
2013-01-23BulletSim: remove the unused RestoreBodyDependencies used by linksetsRobert Adams1-8/+0
and vehicles and clean up code by removing their kludgyness.
2013-01-21BulletSim: allow changing position and rotation of a child of a linksetRobert Adams1-1/+1
without rebuilding the whole compound shape. Should make vehicles move smoother.
2012-12-31BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams1-9/+2
Only initialization and debug fuctions left.
2012-12-31BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams1-8/+8
(.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
2012-12-31BulletSim: change physical data structures to classes. Add defaultRobert Adams1-6/+9
instantiations for PhysBody and PhysShape when BSPhysObject is created to account for them being classes and not structures. Update TODO list.
2012-12-24BulletSim: Fix single physical prim reporting its mass as zero.Robert Adams1-2/+4
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-21BulletSim: Move all the parameter variables, tables and get and fetch logic ↵Robert Adams1-7/+7
to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
2012-12-16BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams1-1/+1
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-12/+0
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-2/+1
This caused movement problems and large prim vehicles to take up a LOT of simulation time.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-327/+0
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-06BulletSim: Add ZeroAngularMotion method to physical objects. Add inTaint ↵Robert Adams1-1/+1
flag to ZeroMotion method. Update the references to those functions.
2012-11-03BulletSim: search the mesh and hull lists to find shapes if type is not ↵Robert Adams1-1/+1
known. This makes sure the correct accounting is done for the particular shape.
2012-11-03BulletSim: debugging of compound shape implementation of linksets.Robert Adams1-0/+12
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: rename BSBody and BSShape to PhysBody and PhysShape. Add skeleton ↵Robert Adams1-27/+13
of BSLinksetCompound.
2012-11-03BulletSim: vehicle tweeking.Robert Adams1-1/+1
Add AddTorque() method to BSPrim. Remove some manual motor actions in computing angular force (will eventually be replaced with motor class). Remove some experimental changes.
2012-11-03BulletSim: remove center-of-mass setting for linksets because it causes the ↵Robert Adams1-49/+30
constraint calculation to pull the objects together.
2012-11-03BulletSim: Use the PostTaints operation to build the linkset once before the ↵Robert Adams1-92/+48
next simulation step. This eliminates the management of children vs taintChildren and simplifies the constratin creation code.
2012-11-03BulletSim: Use Refresh/PostTaints to cause recomputing of constraint ↵Robert Adams1-29/+36
variables before the simulation step. Update logging and messages to properly name LinksetConstraints. Use UpdatePhysicalMassProperties to put the whole linkset mass into all the physical linkset members so they have the inertia to move the whole linkset.
2012-11-03BulletSim: rename constraint classes so they show up together alphabetically.Robert Adams1-1/+1
2012-11-03BulletSim: Add banking and other new code to vechile dynamics. Add third ↵Robert Adams1-1/+1
party license and contributor in for for Aurora-Sim project for physics code.