aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* BulletSim: disable center-of-mass computation for linksets until debugged. ↵Robert Adams2013-01-141-11/+24
| | | | Move physical prim above ground if it is underground. Previously tried to correct by applying and up force but the prim would never go through the ground.
* BulletSim: move center of gravity of linkset to its geometric center.Robert Adams2013-01-111-13/+42
| | | | | | | 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: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams2012-12-311-5/+0
| | | | Only initialization and debug fuctions left.
* BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams2012-12-311-3/+3
| | | | (.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
* BulletSim: another round of conversion: dynamics world and collision object ↵Robert Adams2012-12-311-6/+6
| | | | functions.
* BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams2012-12-311-3/+3
| | | | BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
* BulletSim: fix buoyancy so it's properly set by a script when anRobert Adams2012-12-271-1/+1
| | | | | object is selected. Update TODO list.
* BulletSim: fix odd code that wasn't really recomputing the mass of aRobert Adams2012-12-271-7/+7
| | | | | rebuilt linkset. I was burnt by making get/set methods with side effects. I should know better.
* BulletSim: Fix single physical prim reporting its mass as zero.Robert Adams2012-12-241-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.
* BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams2012-12-171-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.