aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-11BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams1-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.
2013-09-11BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams1-7/+7
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-2/+2
for each link in a linkset. Extend BSLinksetConstraint to create and use BSLinkInfo with the default static constraint.
2013-07-30BulletSim: distribute vehicle physical settings to all members ofRobert Adams1-3/+8
a linkset. Enables constraint based linksets. Rename some internal variables to clarify whether values world or vehicle relative.
2013-07-23Revert "Revert "BulletSim: Add logic to linksets to change physical ↵Robert Adams1-0/+36
properties for"" Found that the vehicle movement problem was not caused by these physics changes. This reverts commit 84d0699761b8da546f9faef084240d7b15f16321.
2013-07-23Revert "Revert "BulletSim: freshen up the code for constraint based linksets.""Robert Adams1-0/+1
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-1/+0
The changes don't seem to be ready for prime time. This reverts commit 803632f8f32d91bb4aec678d8b45a8430c2703e1.
2013-07-22Revert "BulletSim: Add logic to linksets to change physical properties for"Robert Adams1-36/+0
The changes don't seem to be ready for prime time. This reverts commit b44f0e1a00eba7f76401692322e48a3b23a81164.
2013-07-22BulletSim: Add logic to linksets to change physical properties forRobert Adams1-0/+36
whole linkset. Override physical property setting for BSLinksetCompound as there are not children to the compound spape.
2013-07-22BulletSim: freshen up the code for constraint based linksets.Robert Adams1-0/+1
2013-07-06BulletSim: implementation of linkset center-of-mass.Robert Adams1-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.
2013-07-06BulletSim: More tweaking on center-of-mass. Almost there. Changes have no ↵Robert Adams1-61/+17
effect if LinksetOffsetCenterOfMass=false (the default).
2013-07-06BulletSim: comments and non-functional changes working toward the ↵Robert Adams1-6/+5
center-of-gravity implementation.
2013-06-30BulletSim: set linkset type to be prim specific rather than a simulatorRobert Adams1-2/+0
wide default. This allows individual prims to differ in the underlying linkset implementation.
2013-05-06BulletSim: normalize quaternian rotations when building compound linksets.Robert Adams1-7/+7
Attempt to fix vehicles being twisted off the ground when they go physical.
2013-05-03BulletSim: zero vehicle motion when changing vehicle type.Robert Adams1-11/+5
Rebuild compound linkset of any child in the linkset changes shape. Comments and better detailed logging messages.
2013-05-01BulletSim: rework LinksetCompound to work with new BSShape system.Robert Adams1-106/+40
Not all working yet.
2013-04-30BulletSim: improvements to LinksetCompound and PrimDisplaced. Not all ↵Robert Adams1-10/+27
working yet.
2013-04-29BulletSim: LinksetCompound work to disable collision for root andRobert Adams1-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.
2013-04-29BulletSim: remove trailing white space to make git happier. No functional ↵Robert Adams1-2/+2
changes.
2013-04-29BulletSim: rename variable 'PhysicsScene' to be either 'PhysScene' or ↵Robert Adams1-17/+17
'm_physicsScene' to match coding conventions and reduce confusion.
2013-04-29BulletSim: first cut at new linksetCompound shape building.Robert Adams1-63/+27
2013-04-29BulletSim: massive refactor of shape classes. Removed shape specific code ↵Robert Adams1-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.
2013-02-17BulletSim: experimental lock axis code using constraints. Not enabledRobert Adams1-2/+2
by default. Like more debugging is needed.
2013-02-12BulletSim: fix density since the simulator/viewer track density in aRobert Adams1-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).
2013-02-12BulletSim: More work on center-of-mass. Remove linksetinfo and rely on ↵Robert Adams1-81/+69
simulator to update info.
2013-02-08BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams1-16/+16
layers for physical (vs simulator) location displacement and linksets.
2013-02-01BulletSim: fix problem where editting a physical linkset caused theRobert Adams1-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.
2013-01-31BulletSim: fix crash caused when linksets were rebuilt. A problem addedRobert Adams1-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.
2013-01-31BulletSim: make sure vehicle physical properties are set when goingRobert Adams1-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.
2013-01-27BulletSim: disable center-of-mass computation because it does not work yetRobert Adams1-1/+1
2013-01-27BulletSim: parameterize the value for gravity reduction for ground vehicles ↵Robert Adams1-1/+1
on the ground. Set defaults for vehicle factors to one. Debug logging changes.
2013-01-23BulletSim: center-of-gravity linkset changes. Not working yet.Robert Adams1-1/+4
Conflicts: OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
2013-01-23BulletSim: working on COMRobert Adams1-3/+4
2013-01-23BulletSim: remove the unused RestoreBodyDependencies used by linksetsRobert Adams1-7/+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-20/+74
without rebuilding the whole compound shape. Should make vehicles move smoother.
2013-01-15BulletSim: don't modify angular parameters when doing LIMIT_MOTOR_UP.Robert Adams1-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.
2013-01-15BulletSim: add debugging messages to know when assets for physicalRobert Adams1-2/+2
objects have been fetched. Update TODO list with more work.
2013-01-15BulletSim: temporarily disable banking and direction deflectionRobert Adams1-2/+5
because the computations are wrong. Add VehicleTorqueImpulse routines.
2013-01-14BulletSim: disable center-of-mass computation for linksets until debugged. ↵Robert Adams1-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.
2013-01-11BulletSim: move center of gravity of linkset to its geometric center.Robert Adams1-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.
2012-12-31BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams1-5/+0
Only initialization and debug fuctions left.
2012-12-31BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams1-3/+3
(.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
2012-12-31BulletSim: another round of conversion: dynamics world and collision object ↵Robert Adams1-6/+6
functions.
2012-12-31BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams1-3/+3
BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
2012-12-27BulletSim: fix buoyancy so it's properly set by a script when anRobert Adams1-1/+1
object is selected. Update TODO list.
2012-12-27BulletSim: fix odd code that wasn't really recomputing the mass of aRobert Adams1-7/+7
rebuilt linkset. I was burnt by making get/set methods with side effects. I should know better.
2012-12-24BulletSim: Fix single physical prim reporting its mass as zero.Robert Adams1-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.
2012-12-17BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams1-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.