aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | fix vertex rounding directionUbitUmarov2012-12-031-1/+8
| | | |
| | * | *TEST* reduce all mesh vertices resolution to 1e-5. This reduces numberUbitUmarov2012-12-031-0/+16
| | | | | | | | | | | | | | | | of unique vertices only originated by math errors in PrimMesher
| | * | adjust avatar standing Z positionUbitUmarov2012-12-031-5/+11
| | | |
| * | | don't zero constant force and torque in selectionUbitUmarov2012-11-241-6/+6
| |/ /
* | | Merge branch 'master' into careminsterMelanie2012-12-185-37/+28
|\ \ \ | | |/ | |/|
| * | BulletSim: apply friction to linear and angular motion before returning ↵Robert Adams2012-12-173-14/+2
| | | | | | | | | | | | advanced motor value. This seems to be the problem with BulletSim vehicles turning too quickly. Also removed the configuration parameter that controlled the timestep scaling kludge for angular velocity that was added to research the question of quick turning.
| * | BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams2012-12-174-29/+32
| | | | | | | | | | | | 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.
* | | Merge branch 'master' into careminsterMelanie2012-12-1810-123/+195
|\ \ \ | |/ / | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
| * | BulletSim: fix vehicles being shot in the air at border crossings because of ↵Robert Adams2012-12-161-2/+5
| | | | | | | | | | | | mis-application of correction to postion for below groundness.
| * | BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams2012-12-166-36/+65
| | | | | | | | | | | | 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: add even more to the TODO list.Robert Adams2012-12-161-4/+27
| | |
| * | BulletSim: add check for border crossing in character position sanity check.Robert Adams2012-12-161-2/+10
| | |
| * | BulletSim: refactor to combine common terrain height testing code. Add ↵Robert Adams2012-12-161-38/+48
| | | | | | | | | | | | function to test if a position is over known terrain.
| * | BulletSim: remove some errors on shutdown by moving terrain destruction ↵Robert Adams2012-12-162-3/+16
| | | | | | | | | | | | until after physical object destruction. TerrainManager also made disposable and that feature used.
| * | BulletSim: rip out old code for linkset child position fetching. BulletSim ↵Robert Adams2012-12-165-45/+31
| | | | | | | | | | | | doesn't need to do that bookkeeping because SOG/SOP already does it.
* | | Merge branch 'master' into careminsterMelanie2012-12-1620-407/+789
|\ \ \ | |/ / | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
| * | BulletSim: Add more to the TODO list. Clean up and improve some comments.Robert Adams2012-12-132-10/+9
| | |
| * | Return the last set targetVelocity rather than the current velocity as the ↵Robert Adams2012-12-131-5/+8
| | | | | | | | | | | | default action made available in PhysicsActor.TargetVelocity. Doesn't change any physics operation but makes DSG work better as the targetVelocity value does not keep moving around.
| * | BulletSim: fix problem with continuious rebuilding of physical linksets. ↵Robert Adams2012-12-133-79/+88
| | | | | | | | | | | | This caused movement problems and large prim vehicles to take up a LOT of simulation time.
| * | BulletSim: correct line endings in new BulletSimData.cs file.Robert Adams2012-12-131-282/+282
| | |
| * | BulletSim: Add 'BulletSimData' which separates structures createdRobert Adams2012-12-137-205/+308
| | | | | | | | | | | | | | | | | | for the operation of BulletSim and those defintiions/structures defined so they can be used in the unmanaged world. Consolidate setting of collision flags so implementation is not scattered.
| * | BulletSim: remove extra linkset rebuilds.Robert Adams2012-12-131-18/+36
| | |
| * | BulletSim: fix problem of avatar's floating off the ground after unsitting. ↵Robert Adams2012-12-124-24/+27
| | | | | | | | | | | | Reworked size/scale logic so physical scale is kept in Bullet and physObject scale is the preferred size -- usually same as size but avatars are computed differently.
| * | BulletSim: non-functional commenting and reorganization of material ↵Robert Adams2012-12-122-33/+49
| | | | | | | | | | | | attribute specifications.
| * | BulletSim: updates and rearrangement of the TODO list.Robert Adams2012-12-121-14/+33
| | |
| * | BulletSim: do not return the current velocity for targetVelocity.Robert Adams2012-12-121-0/+11
| | |
| * | BulletSim: fix crash caused by the creation of a linkset child that is under ↵Robert Adams2012-12-111-4/+4
| | | | | | | | | | | | the terrain. Users can sure find some interesting corner conditions.
| * | BulletSim: protect character property setting to remove crash from taints ↵Robert Adams2012-12-112-21/+42
| | | | | | | | | | | | setting properties after the destroy character taint.
| * | BulletSim: protect prim property setting to remove crash from taints setting ↵Robert Adams2012-12-113-20/+45
| | | | | | | | | | | | properties after the destroy object taint has happened.
| * | BulletSim: modify LIMIT_MOTOR_UP to limit BOAT types to be at water rather ↵Robert Adams2012-12-111-2/+2
| | | | | | | | | | | | than ground level. This makes boats float at water level better but not perfectly. There probably needs to be some interaction between HOVER and LIMIT_MOTOR_UP.
| * | BulletSim: add ini file and command line parameters to controlRobert Adams2012-12-114-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | dumping of physical vehicle parameters (out of Bullet) on each simulation step and to optionally scale vehicle angular velocity by the time step. The latter looks to be part of a difference between angular parameters for ODE and BulletSim. SL docs say angular velocity is measured in radians/timeScale. Not sure if this is different than what ODE does.
| * | 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: comment out some chatty debug logging. Rearrange some code in ↵Robert Adams2012-12-102-5/+7
| | | | | | | | | | | | BSDynamics to make velocity vs force calculation clearer.
| * | BulletSim: Fix crash on the destruction of physical linksets.Robert Adams2012-12-1012-38/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: adjust friction and restitution based on material type.Robert Adams2012-12-092-5/+17
| | |
* | | Merge branch 'master' into careminsterMelanie2012-12-094-21/+43
|\ \ \ | |/ /
| * | BulletSim: set material properties for static objects. Move ↵Robert Adams2012-12-082-11/+24
| | | | | | | | | | | | 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.
| * | BulletSim: fix small problem with setting size/scale of native shapes which ↵Robert Adams2012-12-081-6/+9
| | | | | | | | | | | | caused the native shapes to be rebuilt when not necessary.
| * | BulletSim: update comments and add more to TODO list.Robert Adams2012-12-082-4/+10
| | |
* | | Merge branch 'master' into careminsterMelanie2012-12-076-358/+461
|\ \ \ | |/ / | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs OpenSim/Region/Framework/Scenes/Scene.cs
| * | BulletSim: rewrite and improve vehicle angularDeflection, verticalAttraction,Robert Adams2012-12-062-83/+130
| | | | | | | | | | | | | | | | | | linearMotorUp and related vehicle forces. Fixed problems with downward vehicle position correction forces being too large. Add vehicle collision flag so can sense whether vehicle is on the ground.
| * | BulletSim: update and add to the TODO list.Robert Adams2012-12-061-31/+56
| | |
| * | BulletSim: add detail logging detail flag so I don't have to comment and ↵Robert Adams2012-12-061-27/+34
| | | | | | | | | | | | uncomment the detail logging when changing the depth of logged info.
| * | BulletSim: only check position sanity if the prim is physical -- the user ↵Robert Adams2012-12-061-3/+1
| | | | | | | | | | | | can do anything dumb they wish.
| * | BulletSim: add values for material friction and restitution. Fix line ↵Robert Adams2012-12-061-191/+185
| | | | | | | | | | | | endings in material definition file.
| * | BulletSim: Don't add gravity to down force -- let Bullet do that. Add ↵Robert Adams2012-12-061-14/+28
| | | | | | | | | | | | VehicleAddForce to set of managed vehicle prim properties.
| * | BulletSim: Vehicle angular vertical attraction works. Other vehicle angular ↵Robert Adams2012-12-062-20/+38
| | | | | | | | | | | | forces commented out for the moment for debugging.
* | | Merge branch 'master' into careminsterMelanie2012-12-0410-276/+551
|\ \ \ | |/ / | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs
| * | BulletSim: Reduce idle region physics overhead where there are MANYRobert Adams2012-12-037-80/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static objects by more restrictive selection of objects that collide with static objects. Rename collision mask fuctions from 'filter' to 'group' so it is clear what is being set. Rename BulletSimAPI.SetCollisionFilterMask() to SetCollisionGroupMask to match above. Restore passing of time step to linear and angular motion component routines. Use buffering vehicle physical parameter get/set routines consistantly. Make range enforcement clearer by using ClampInRange() function for parameter setting. Remove commented out experimental vehicle calculations.