aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ODEPluginTeravus Ovares2008-03-101-0/+5
| | | | | | | | | * Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level. * osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE); * By default, prim do not float at the water level. * More work is needed on the floating, but it's a start.
* * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares2008-03-101-0/+11
| | | | | * Added WaterLevel support to the ODEPlugin. More on this later.
* * This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares2008-03-021-0/+8
| | | | | | | | | 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/+5
| | | | | | | | * 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/+6
| | | | | | | | 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-4/+4
| | | | | | * 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/+4
|
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-0/+5
| | | | | | | | | | (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-1/+5
| | | | | * In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
* Converted logging to use log4net.Jeff Ames2008-02-051-1/+1
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares2008-01-291-0/+10
| | | | 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.
* * Optimized usingslbsa712007-12-272-16/+28
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Re-did the mass calculations in ODE for Prim Teravus Ovares2007-12-191-2/+17
| | | | | | | * 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-6/+7
| | | | | | | * 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/+3
| | | | | * 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-102-3/+3
| | | | notice of doom
* fixed potential reference invalidation and array out of bounds exception in ↵Jeff Ames2007-11-201-2/+4
| | | | basicphysics
* *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.
* fixed some AssemblyInfo filesJeff Ames2007-11-161-2/+2
|
* * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.Teravus Ovares2007-11-121-0/+5
| | | | | * All thanks to unimplemented packet listing :D
* * Added a lot of Glue to help with reporting proper collisions.Teravus Ovares2007-11-121-1/+15
| | | | | | | | | | * ODE - Fixed the iscolliding property to report a static true when colliding. * Added reporting of collisions to call UpdateMovementAnimations * Added Jump - air animation (with arms outstretched). * Added Fall Animations * ODE - Added a small amount of X, Y motion control while jumping or Falling * ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
* * Moves the Meshmerizer to a separate pluginTeravus Ovares2007-11-101-1/+6
| | | | | | * Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....
* * Added an internal throttle on ODE physics updatesTeravus Ovares2007-11-091-1/+5
| | | | | | * Added a ThrottleUpdates member to PhysicsActor to expose 'throttle' ability to the Scene. * Updated the ode.dll file with a fix to invalid data passed to ODE's heightfield collision calculator.
* * Added Rotational Velocity reporting for Client Interpolation to Terse UpdatesTeravus Ovares2007-11-081-1/+6
| | | | | * Added Angular Velocity reporting for smooth-ish rotations on object collisions
* prim cuts in ODEdan miller2007-11-051-0/+8
| | | | | | | | Much thanks to Gerhard! Merged with Darok's recent changes re: physical prims
* Changes in BulletXPlugin: Added new class BulletXActor class inherits from ↵darok2007-11-031-1/+12
| | | | PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications.
* * Diuerse beavtificatemslbsa712007-11-011-1/+1
|
* Thank you Teravus, very much, for a 'jump', 'crouch' and 'inertia' patch for ↵Charles Krinke2007-10-311-1/+8
| | | | all three physics plugins.
* * Optimized usingslbsa712007-10-302-87/+41
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-1/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* Hollow prims (box only), thanks Gerard! Enjoydan miller2007-09-291-1/+9
|
* I think 1.0f makes a better offset than 1.2f for basic physics (less floating,Sean Dague2007-09-121-1/+1
| | | | | | | | not too much crouching). I think that we'll have to rethink what the terrain resolution is down the road, as we don't really have enough sample data to actually get people placed right on the land.
* mass update of urls in source code to new websiteSean Dague2007-09-102-2/+2
|
* Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW2007-08-281-1/+1
| | | | should equal project and directory.
* Added RemovePrim method to the physics plugins interface.MW2007-08-231-0/+5
| | | | | | | | Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
* More prep work for adding prims to ODE physicsBrian McBee2007-08-191-0/+11
|
* starting to add bits and pieces to physics prims that we will eventually ↵Brian McBee2007-08-181-1/+1
| | | | need for collisions. not hooked in yet.
* OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs, ↵Brian McBee2007-08-031-5/+5
| | | | | | | OpenSim/Region/Environment/Scenes/ScenePresence.cs Fix for array out-of-bounds error in basicphysics.
* Deleting objects should now work. But beware they aren't send to your trash ↵MW2007-07-291-192/+194
| | | | folder or anything so there is at the moment no way to recover deleted objects.
* * Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)Adam Frisby2007-07-291-34/+28
| | | | | * Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
* * Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApplbsa712007-07-161-31/+0
|
* changed to native line ending encodingSean Dague2007-07-162-357/+357
|
* * By popular demand, all generated build files are now deleted. Somebody ↵lbsa712007-07-082-135/+0
| | | | should make sure the wiki is updated.
* A bit more work on Building tools/support.MW2007-07-041-1/+1
| | | | | updated Axiom.MathLib.dll.
* * Optimized usings (the 'LL ate my scripts' commit)lbsa712007-07-032-5/+3
| | | | | * added some licensing info
* * Applying Danx0r's BasicPhysics update.Adam Frisby2007-06-291-16/+23
|
* Imported the scripting changes, so now should be up to date with sugilite. MW2007-06-281-0/+42
|
* *Updated prebuild.xml and ran prebuild againmingchen2007-06-271-12/+0
| | | | | | *Removed .user, .suo, and unneccessary files in /bin/Physics/ *OpenSim.sln should compile with nant and on windows now
* Some work on restructuring the namespaces / project names. Note this doesn't ↵MW2007-06-274-0/+457
compile yet as not all the code has been changed to use the new namespaces. Am committing it now for feedback on the namespaces.