aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: add LSL function and plumbing for setting a springRobert Adams2013-09-113-2/+37
| | | | equilibrium point in the physics engine constraint.
* BulletSim: add extended physics LSL constants for axis specification.Robert Adams2013-09-112-35/+60
| | | | | Add specific error warnings for mis-matched parameter types in extended physics functions.
* BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams2013-09-111-8/+45
| | | | parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
* BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams2013-09-113-17/+38
| | | | for spring constraints. Renumber parameter ops since I can as no one is using them yet.
* BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams2013-09-113-35/+76
| | | | Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.
* BulletSim: add requestor's ID to post taint detail log message.Robert Adams2013-09-111-2/+3
|
* BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams2013-09-112-22/+24
| | | | Update routines to use the new parameters list from above change.
* BulletSim: add ID parameter to TaintedObject calls so logging will include ↵Robert Adams2013-09-118-70/+89
| | | | LocalID of object which created the taint.
* BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams2013-09-114-30/+80
| | | | and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
* BulletSim: adjust avatar capsule height calculation to be closer to defined ↵Robert Adams2013-09-112-7/+12
| | | | SL heights. Correct BSParam avatar height defaults to be what's in OpenSimDefaults.ini.
* BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams2013-09-113-23/+144
| | | | implementation of physChangeLinkParams() in BSLinksetConstraint.
* BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams2013-09-111-0/+22
| | | | as case variables in switch statements.
* BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams2013-09-115-73/+153
| | | | constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
* BulletSim: update C++ HACD parameters to values that handle enclosed hollow ↵Robert Adams2013-09-111-8/+8
| | | | spaces better. This shouldn't affect many since this HACD routine is off by default.
* BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams2013-09-114-11/+128
| | | | 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: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams2013-09-112-14/+14
| | | | 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.
* BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams2013-09-112-9/+24
| | | | linkset's link back to a fixed, non-moving connection.
* BulletSim: move linkset extension operations into BSPrimLinkable where they ↵Robert Adams2013-09-112-31/+42
| | | | should be.
* BulletSim: add unmanaged and XNA functions for hinge, slider and spring ↵Robert Adams2013-09-113-2/+241
| | | | constraints.
* BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams2013-09-113-15/+77
|
* BulletSim: add spring constraint to linkset constraint types.Robert Adams2013-09-111-0/+85
|
* BulletSim: add API and calls for spring constraint parameters.Robert Adams2013-09-113-0/+82
|
* BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams2013-09-114-17/+22
|
* BulletSim: add some protections for processing when shutting down.Robert Adams2013-08-271-2/+2
| | | | Attempt to fix Mantis 6740 (http://opensimulator.org/mantis/view.php?id=6740).
* * Fix some threading issues in BulletXNA (the managed bullet library), this ↵teravus2013-08-201-1/+45
| | | | | | should better allow you to run it in multiple region scenarios (but why would you really want to do that?) Source in OpenSimLibs. * Fixed a null ref during shutdown.
* BulletSim: include check for volume detect in check for zeroing avatar motion.Robert Adams2013-08-142-2/+6
| | | | | | | Normally, avatar motion is zeroed if colliding with a stationary object so they don't slide down hills and such. Without volume detect check this also allowed avatars to stand on volume detect objects and to have some jiggling when they were in the volume detect object. This commit fixes both.
* BulletSim: add physical object initialized flag so updates and collisionsRobert Adams2013-08-145-5/+23
| | | | | | | | | don't happen until the object is completely initialized. This fixes the problem of doing a teleport while the simulator is running. The destruction of the physical object while the engine is running means that the physics parameter update would overwrite the new position of the newly created avatar.
* BulletSim: move the creation of the avatar movement actor creating toRobert Adams2013-08-131-7/+7
| | | | | | taint time. Attempt to fix a problem of teleporting within the same region where the remove and addition of the physical avatar occasionally ends up with a non-moving avatar.
* BulletSim: add check in avatar stair step code to verify the collisionRobert Adams2013-08-124-13/+26
| | | | | | | | is not with a volume detect object. This fixes a problem of avatars trying to step over a volume detect object that they collide with. This appeared as the avatar popping up as it started to step up but then continuing on since the object wasn't physically interacting.
* BulletSim: adjust avatar position when the avatar's size is changed.Robert Adams2013-08-082-4/+12
| | | | | | This fixes the problem of avatars bouncing when logged in. Added a little height to the avatar height fudges to eliminate a problem of feet being in the ground a bit.
* BulletSim: When converting linkset types, don't try to change the listRobert Adams2013-08-021-9/+20
| | | | of linkset children while iterating through the list.
* BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams2013-08-028-2/+99
| | | | | and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
* BulletSim: add BSLinkInfo structure to remember link specific informationRobert Adams2013-08-023-86/+174
| | | | | | 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-303-43/+61
| | | | | | a linkset. Enables constraint based linksets. Rename some internal variables to clarify whether values world or vehicle relative.
* BulletSim: make density display and return value consistant with howRobert Adams2013-07-303-8/+22
| | | | the simulator expects it (scaled to 100kg/m^3).
* BulletSim: Turn on center-of-mass calculation by default.Robert Adams2013-07-232-5/+7
| | | | | Reduce object density by factor of 100 to bring physical mass computations into a range better suited for Bullet.
* Revert "Revert "BulletSim: Add logic to linksets to change physical ↵Robert Adams2013-07-233-7/+59
| | | | | | | | properties for"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 84d0699761b8da546f9faef084240d7b15f16321.
* Revert "Revert "BulletSim: change BSDynamics to expect to be passed a ↵Robert Adams2013-07-231-2/+15
| | | | | | | | BSPrimLinkable"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 7b187deb19517aa7c880458894643a5448566a94.
* Revert "Revert "BulletSim: only create vehicle prim actor when vehicles are ↵Robert Adams2013-07-232-12/+33
| | | | | | | | enabled."" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 5f7b2ea81b95a60e882bc65b663a2c9fe134f92a.
* Revert "Revert "BulletSim: move collision processing for linksets from ↵Robert Adams2013-07-235-18/+121
| | | | | | | | BSPrimLinkable"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit c45659863d8821a48a32e5b687c7b2a6d90b0300.
* Revert "Revert "Add experimental stubs for an extension function interface ↵Robert Adams2013-07-232-0/+15
| | | | | | | | on both"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 89857378ce79f93a265bc1eb151e17742032abfa.
* Revert "Revert "BulletSim: freshen up the code for constraint based linksets.""Robert Adams2013-07-233-23/+64
| | | | | | Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 44543ebe638f391fc1c7ff532fe4470006dec55a.
* Revert "BulletSim: freshen up the code for constraint based linksets."Robert Adams2013-07-223-64/+23
| | | | | | The changes don't seem to be ready for prime time. This reverts commit 803632f8f32d91bb4aec678d8b45a8430c2703e1.
* Revert "Add experimental stubs for an extension function interface on both"Robert Adams2013-07-222-15/+0
| | | | | | The changes don't seem to be ready for prime time. This reverts commit 13a4a80b3893af13ab748c177b731fed813974ca.
* Revert "BulletSim: move collision processing for linksets from BSPrimLinkable"Robert Adams2013-07-225-121/+18
| | | | | | The changes don't seem to be ready for prime time. This reverts commit b4c3a791aa55390bff071b3fe4bbe70c1d252703.
* Revert "BulletSim: only create vehicle prim actor when vehicles are enabled."Robert Adams2013-07-222-33/+12
| | | | | | The changes don't seem to be ready for prime time. This reverts commit acb7b4a09ad564d1dfae3ad12adbb593ca3942c9.
* Revert "BulletSim: change BSDynamics to expect to be passed a BSPrimLinkable"Robert Adams2013-07-221-15/+2
| | | | | | The changes don't seem to be ready for prime time. This reverts commit d0d654e2186c8b81c1150da89a549e4f7162a2b4.
* Revert "BulletSim: Add logic to linksets to change physical properties for"Robert Adams2013-07-223-59/+7
| | | | | | 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-223-7/+59
| | | | | | whole linkset. Override physical property setting for BSLinksetCompound as there are not children to the compound spape.
* BulletSim: change BSDynamics to expect to be passed a BSPrimLinkableRobert Adams2013-07-221-2/+15
| | | | | and start changing the logic to handle the base prim as a complex object (ie, a linkset).