aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares2008-03-021-0/+16
| | | | | | | | | joints. This will change quite drastically, however it's fun to play with. * To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly. This will also be fixed. * Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed. In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go. * This implementation is better then it crashing your sim, so I'm commiting it for now.
* * Added Support within the ODEPlugin for Selected. Which means that;Teravus Ovares2008-02-231-0/+10
| | | | | | | | * When you select a physical prim, it stops while you've got it selected. * When you move or alter a prim in some manner, it doesn't become collidable until you de-select it * When you select a prim, it doesn't become temporarily 'phantom' until you make some change to it while it's selected. (this prevents accidental selections in prim floor from causing it to go phantom on you(but don't move it or you'll fall)) * There's one major difference, and that's a physical object won't stop if you don't have permission to edit it. This prevents people who don't have edit permissions on a prim from stopping it while it's moving.
* ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares2008-02-181-1/+1
| | | | got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
* * Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2008-02-171-0/+10
| | | | | | | | turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR. * Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore. * Avatars don't float off either.
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-9/+9
| | | | | | * Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
* * Bigish ODE stability Update. Run PrebuildTeravus Ovares2008-02-131-0/+8
|
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-0/+10
| | | | | | | | | | (though I still don't recommend it for welcome regions unless object build is off. * Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode. * Added internal collision score and am keeping track of 'high usage' prim. * Tweaked collisions some more * Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
* * Added PhysicsScene.Dispose()Teravus Ovares2008-02-111-0/+3
| | | | | * In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
* * Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares2008-01-291-0/+21
| | | | gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
* * Added some of the finer control points to POS such asTeravus Ovares2008-01-121-0/+7
| | | | | | | ** jumping ** crouching ** landing on prim
* * Optimized usingslbsa712007-12-271-33/+51
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Re-did the mass calculations in ODE for Prim Teravus Ovares2007-12-191-0/+36
| | | | | | | * Exposed the mass as a PhysicsActor read only property (so scripts can get at it - hint hint -) * Hollow and Path Cuts affect the prim mass (all Hollow Types are supported in this calculation (sphere,square,triangle)) * Prim no longer sink into the ground.
* Misc. cleanup:Jeff Ames2007-12-191-4/+3
| | | | | | | * added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
* * Added some simstats to fill the simulator pane of the Statistics monitor.Teravus Ovares2007-12-121-1/+4
| | | | | * I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-101-1/+1
| | | | notice of doom
* per chi11ken: adding check for out-of-bounds avatars in POSBrian McBee2007-11-201-0/+18
|
* New improved POS! With slippery avatars and extra calculations.Brian McBee2007-11-201-0/+10
|
* fixed array range out of bounds exception and reference invalidation under ↵Jeff Ames2007-11-201-21/+26
| | | | load in POS
* Reverting my POS changes. I need to think this through a bit more.Brian McBee2007-11-201-14/+14
|
* *Huge* structural changes in ODE/OdePrim to get all of the calls in ↵Teravus Ovares2007-11-201-0/+3
| | | | | | | threadlocked code. ODEPrim was almost completely re-written. Copy/Space test needed.
* POS physics. tweaking stair-climbing which broke with my last changeBrian McBee2007-11-201-12/+14
|
* POS physics: removed "stickiness" from avatars so they can slide along ↵Brian McBee2007-11-201-10/+8
| | | | surfaces instead of sticking to them.
* fixed POS rotation with certain anglesJeff Ames2007-11-191-4/+4
|
* added rotation support to POSJeff Ames2007-11-191-4/+8
|
* flying in POS should be a bit smootherJeff Ames2007-11-181-4/+15
|
* cleaned up some mono compiler warningsJeff Ames2007-11-181-1/+0
|
* improved avatar logic -- walk up low steps now, sortadan miller2007-11-171-5/+21
|
* minor POS tweak for speeddan miller2007-11-171-5/+4
|
* Out of a fog of alcohol and adenovirus, I present - POS!dan miller2007-11-171-31/+218
| | | | | | | | | EXTREMELY basic collision detection; walk on prims don't rotate anything do not feed or annoy POS YMMV
* added some POS gravityJeff Ames2007-11-171-22/+17
|
* added dummy POS physics pluginJeff Ames2007-11-161-0/+301