aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams2012-12-161-20/+28
| | | | 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.
* BulletSim: rip out old code for linkset child position fetching. BulletSim ↵Robert Adams2012-12-161-14/+10
| | | | doesn't need to do that bookkeeping because SOG/SOP already does it.
* BulletSim: fix problem with continuious rebuilding of physical linksets. ↵Robert Adams2012-12-131-75/+80
| | | | This caused movement problems and large prim vehicles to take up a LOT of simulation time.
* BulletSim: remove extra linkset rebuilds.Robert Adams2012-12-131-18/+36
|
* BulletSim: set mass for single prim linksets when going physical. This fixes ↵Robert Adams2012-12-111-1/+8
| | | | single prim vehicles not working (the surf board now zooms).
* BulletSim: Fix crash on the destruction of physical linksets.Robert Adams2012-12-101-17/+96
| | | | | | | | | While fixing the above, add methods to physical body and shape pointer wrapper so routines won't have to know that IntPtr.Zero means no physical instance. Fix problem with physical linksets failing after a few sits and unsits by properly restoring child prom positions for compound linksets after multiple selection and deselections.
* BulletSim: some comments about rebuilding linksets (having to recompute and ↵Robert Adams2012-12-091-3/+6
| | | | restore a child's position in the world based on its position in the moved linkset).
* BulletSim: set material properties for static objects. Move ↵Robert Adams2012-12-081-0/+5
| | | | Linkset.MakeStatic() after call to ForceActivationState2() since linkset might change activation state. Make BSPrim.CreateGeomAndObject public as linkset rebuilding might need access to it. Only rebuild prim if selection state is actually changes -- OpenSimulator calls PhysObject.Selected() multiple times whenever a prim is selected or deselected.