aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: fix two compiler warnings.Robert Adams2015-06-251-4/+0
| | | | Mostly code left over from things that are not done that way anymore.
* BulletSim: Add axis locking enabled through the ExtendedPhysics module.Robert Adams2014-12-311-1/+4
| | | | | Allows locking of prim/linkset relative moving in each of the linear and angular axis. Limits on movement or rotation can be set.
* BulletSim: move detail log of InternalScheduleRebuild to reduce log file spamRobert Adams2014-11-301-5/+5
|
* BulletSim: Remove linkset 'Incomplete' flag as its meaning couldn't be made ↵Robert Adams2014-11-301-12/+25
| | | | clear. Add 'InternalScheduleRebuild() CHange rebuild code to call InternalScheduleRebuild() rather than ForceRebuild() to limit the scope of the changes made by the linkset.
* BulletSim: add shape and linkset rebuild scheduled flags. Add ↵Robert Adams2014-11-301-5/+13
| | | | BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
* BulletSim: rearrange code for sensing whether shapes have beenRobert Adams2014-07-261-12/+13
| | | | | | constructed. Add routine to check for failed and use that method rather than checking individual state.
* BulletSim: rearrange code to prevent using null pointers when aRobert Adams2014-07-171-11/+10
| | | | child mesh is not available when building a linkset.
* BulletSim: stop processing linkset child when it is discovered that theRobert Adams2014-06-181-0/+1
| | | | child doesn't have a physical shape. Another attempt at fixing Mantis 7191.
* BulletSim: fix exceptions while rebuilding linksets with mesh children.Robert Adams2014-06-081-3/+30
| | | | | | | This should get around the exception reported in Mantis 7191 and 7204 by checking for the unbuilt child and rebuilding the linkset the next tick. A warning message is output when this rebuild happens and this message is clamped to 10 times in case there is a problem with a loop.
* Eliminated many warningsOren Hurvitz2014-04-231-0/+2
|
* BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams2013-09-111-9/+8
| | | | 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: fixes for change linkset implementation of physical linksets.Robert Adams2013-09-111-7/+7
|
* BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams2013-08-021-0/+1
| | | | | and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
* BulletSim: add BSLinkInfo structure to remember link specific informationRobert Adams2013-08-021-2/+2
| | | | | | 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/+8
| | | | | | 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-0/+36
| | | | | | | | properties for"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 84d0699761b8da546f9faef084240d7b15f16321.
* Revert "Revert "BulletSim: freshen up the code for constraint based linksets.""Robert Adams2013-07-231-0/+1
| | | | | | 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-221-1/+0
| | | | | | The changes don't seem to be ready for prime time. This reverts commit 803632f8f32d91bb4aec678d8b45a8430c2703e1.
* Revert "BulletSim: Add logic to linksets to change physical properties for"Robert Adams2013-07-221-36/+0
| | | | | | 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-0/+36
| | | | | | whole linkset. Override physical property setting for BSLinksetCompound as there are not children to the compound spape.
* BulletSim: freshen up the code for constraint based linksets.Robert Adams2013-07-221-0/+1
|
* BulletSim: implementation of linkset center-of-mass.Robert Adams2013-07-061-8/+12
| | | | | | Default off, for the moment, until more testing. Add separate thread and center-of-mass flags to OpenSimDefaults.ini. Clean up comments in OpenSimDefaults.ini.
* BulletSim: More tweaking on center-of-mass. Almost there. Changes have no ↵Robert Adams2013-07-061-61/+17
| | | | effect if LinksetOffsetCenterOfMass=false (the default).
* BulletSim: comments and non-functional changes working toward the ↵Robert Adams2013-07-061-6/+5
| | | | center-of-gravity implementation.
* BulletSim: set linkset type to be prim specific rather than a simulatorRobert Adams2013-06-301-2/+0
| | | | | wide default. This allows individual prims to differ in the underlying linkset implementation.
* BulletSim: normalize quaternian rotations when building compound linksets.Robert Adams2013-05-061-7/+7
| | | | Attempt to fix vehicles being twisted off the ground when they go physical.
* BulletSim: zero vehicle motion when changing vehicle type.Robert Adams2013-05-031-11/+5
| | | | | Rebuild compound linkset of any child in the linkset changes shape. Comments and better detailed logging messages.
* BulletSim: rework LinksetCompound to work with new BSShape system.Robert Adams2013-05-011-106/+40
| | | | Not all working yet.
* BulletSim: improvements to LinksetCompound and PrimDisplaced. Not all ↵Robert Adams2013-04-301-10/+27
| | | | working yet.
* BulletSim: LinksetCompound work to disable collision for root andRobert Adams2013-04-291-14/+30
| | | | | | | child prims so compound shape can do all collisions. Don't try to build a compound linkset for non-physical linksets. Remove and replace root body when compound shape is added so collision cache is rebuilt.
* BulletSim: remove trailing white space to make git happier. No functional ↵Robert Adams2013-04-291-2/+2
| | | | changes.
* BulletSim: rename variable 'PhysicsScene' to be either 'PhysScene' or ↵Robert Adams2013-04-291-17/+17
| | | | 'm_physicsScene' to match coding conventions and reduce confusion.
* BulletSim: first cut at new linksetCompound shape building.Robert Adams2013-04-291-63/+27
|
* BulletSim: massive refactor of shape classes. Removed shape specific code ↵Robert Adams2013-04-291-23/+12
| | | | 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: experimental lock axis code using constraints. Not enabledRobert Adams2013-02-171-2/+2
| | | | by default. Like more debugging is needed.
* BulletSim: fix density since the simulator/viewer track density in aRobert Adams2013-02-121-7/+12
| | | | | | | | | | | funny unit that is 100 times real density (default 1000). Fix avatar drifting slowly when stationary flying. Fix for physical prims getting corrected for being under terrain when it was just its geometric center that was below terrain. Add PreUpdatePropertyAction allowing plugable modifiction of phys parameters returned from Bullet. Fix an exception setting GravityMultiplier on initialization. Update DLLs and SOs for good measure (no functional change).
* BulletSim: More work on center-of-mass. Remove linksetinfo and rely on ↵Robert Adams2013-02-121-81/+69
| | | | simulator to update info.
* BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams2013-02-081-16/+16
| | | | layers for physical (vs simulator) location displacement and linksets.
* BulletSim: fix problem where editting a physical linkset caused theRobert Adams2013-02-011-19/+32
| | | | | child prim physical positions to get out of sync with the view. More reliably compute the offset of children in a physical linkset.
* BulletSim: fix crash caused when linksets were rebuilt. A problem addedRobert Adams2013-01-311-14/+34
| | | | | when individual child pos/rot changes were implementated a week or so ago. Remove some passing of inTaintTime flag when it was never false.
* BulletSim: make sure vehicle physical properties are set when goingRobert Adams2013-01-311-3/+3
| | | | | | physical by delaying setting until pre-step time. Change vehicle.Refresh() to schedule the pre-step setting. Comments and updating of TODO list.
* BulletSim: disable center-of-mass computation because it does not work yetRobert Adams2013-01-271-1/+1
|
* BulletSim: parameterize the value for gravity reduction for ground vehicles ↵Robert Adams2013-01-271-1/+1
| | | | on the ground. Set defaults for vehicle factors to one. Debug logging changes.
* BulletSim: center-of-gravity linkset changes. Not working yet.Robert Adams2013-01-231-1/+4
| | | | | | Conflicts: OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
* BulletSim: working on COMRobert Adams2013-01-231-3/+4
|
* BulletSim: remove the unused RestoreBodyDependencies used by linksetsRobert Adams2013-01-231-7/+0
| | | | and vehicles and clean up code by removing their kludgyness.
* BulletSim: allow changing position and rotation of a child of a linksetRobert Adams2013-01-211-20/+74
| | | | | without rebuilding the whole compound shape. Should make vehicles move smoother.
* BulletSim: don't modify angular parameters when doing LIMIT_MOTOR_UP.Robert Adams2013-01-151-1/+1
| | | | | It was a dumb idea to try and do a nose over feature for jumping cars anyway. Add better logging of native shape creation/reuse so can tell the difference.
* BulletSim: add debugging messages to know when assets for physicalRobert Adams2013-01-151-2/+2
| | | | | objects have been fetched. Update TODO list with more work.
* BulletSim: temporarily disable banking and direction deflectionRobert Adams2013-01-151-2/+5
| | | | | because the computations are wrong. Add VehicleTorqueImpulse routines.