aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-06-10Update svn properties. Formatting cleanup.Jeff Ames1-10/+10
2008-06-09*Fixed bug that caused failure when System.Console.Readline returns null (no ↵mingchen1-4/+10
stdin) *Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-05-25* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2-1/+13
2008-05-25* Releases Pinned vertex/index list in ODE on next mesh request.Teravus Ovares1-0/+2
2008-05-16* This finishes the ODE options section of the OpenSim.ini.example. I've ↵Teravus Ovares2-2/+2
added 44 configurable options! * This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties. * The options range from gravity.. to avatar movement speed, to friction management.. to object density.. to update throttling.
2008-05-16Formatting cleanup.Jeff Ames4-18/+18
2008-05-14* Refactored IConfigSource into Physics plug-ins and Scene. We can get rid ↵Teravus Ovares2-4/+6
of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on * The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
2008-05-06* If you llApplyImpulse on an attachment, it applies impulse on the avatar, ↵Teravus Ovares1-2/+2
not the attachment.
2008-05-03* Committing some collision stuffs that I'm working on.Teravus Ovares1-5/+30
* Nothing user facing yet.
2008-04-24* Tuned the llMove2Target PID controller to be more reasonable and not ↵Teravus Ovares1-0/+9
overshoot the target.
2008-04-23* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares2-1/+6
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results. * Three axis works well enough to play with it anyway. More work is needed here. * Fixed an incorrectly named method in ODE.NET
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby4-9/+5
(this took a while to run).
2008-03-25* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares1-0/+9
* It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames1-39/+6
2008-03-18* Remove unused (and somewhat nonsensical) method in PhysicsActorJustin Clarke Casey1-7/+0
* Thanks for DrScofld for drawing attention to this
2008-03-18Formatting cleanup.Jeff Ames9-252/+244
2008-03-14* Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares1-8/+8
2008-03-10ODEPluginTeravus Ovares1-0/+8
* 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.
2008-03-10* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares2-0/+12
* Added WaterLevel support to the ODEPlugin. More on this later.
2008-03-02* This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares1-0/+14
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.
2008-02-23* Added Support within the ODEPlugin for Selected. Which means that;Teravus Ovares1-0/+7
* 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.
2008-02-21* A few additional null checks in the Physics Scene and PhysicsActor so we ↵Teravus Ovares1-9/+2
don't try to enumerate dead null ODECharacter objects when things get *really* slow.
2008-02-20* Found the land bug, yayTeravus Ovares1-4/+16
2008-02-20Minor cleanup.Jeff Ames1-1/+1
2008-02-20* Fixed a long standing race condition in physics events. Could this be ↵Teravus Ovares1-3/+3
the source of the null on multicast_void: error?
2008-02-18More exception checks and crash hintsTedd Hansen1-0/+8
If no scriptengine is specified then don't try to load any.
2008-02-18ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares1-2/+2
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!
2008-02-17* Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2-1/+8
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.
2008-02-17Added copyright notices.Jeff Ames1-0/+28
2008-02-13* Bigish ODE stability Update. Run PrebuildTeravus Ovares2-0/+53
2008-02-13* Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares1-0/+8
(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.
2008-02-13Clean up more unnecessary String.Format callsJeff Ames1-1/+1
2008-02-12* A bunch of updates to make things more smooth.Teravus Ovares1-1/+56
** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation) ** Disabling prim that inter-penetrate instead of just not attaching a joint ** Reduced prim spin a 'little' bit, but not *enough* ** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter ** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets. ** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method. ** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-11* Added PhysicsScene.Dispose()Teravus Ovares1-0/+6
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
2008-02-10Clean up logging calls using String.Format explicitlyJeff Ames2-5/+5
2008-02-05Converted logging to use log4net.Jeff Ames2-17/+21
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-01* Committing random physics stuff to the SVN for use laterTeravus Ovares1-0/+86
2008-01-29* Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares1-0/+17
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.
2007-12-27* Optimized usingslbsa717-77/+82
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-19* Re-did the mass calculations in ODE for Prim Teravus Ovares1-1/+24
* 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.
2007-12-13Enabled the sit_ground animation. The sit state is not properly set, but it ↵Jeff Ames1-7/+0
looks okay, and doesn't seem to break anything. Just move around to stand up.
2007-12-12* Added some simstats to fill the simulator pane of the Statistics monitor.Teravus Ovares1-2/+3
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-11added copyright noticesJeff Ames1-0/+28
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames5-8/+8
notice of doom
2007-12-04keeping opensim safe for children -- made some namespace references less ↵Jeff Ames1-1/+1
explicit
2007-12-04* Fixed a whole bunch of console messages.Adam Frisby1-4/+4
2007-11-28* Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares1-0/+17
to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up. * Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-20*Huge* structural changes in ODE/OdePrim to get all of the calls in ↵Teravus Ovares1-0/+4
threadlocked code. ODEPrim was almost completely re-written. Copy/Space test needed.
2007-11-16* ODE step two on the way to separate dynamic space allocation ( One more to ↵Teravus Ovares1-0/+14
go )
2007-11-12* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.Teravus Ovares1-1/+6
* All thanks to unimplemented packet listing :D