aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/SharedBase/PhysicsScene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-15/+70
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-10/+85
2012-10-18 missing changed fileUbitUmarov1-1/+1
Signed-off-by: Melanie <melanie@t-data.com>
2012-08-01Create the ability for physics modules to request assets on demand byMelanie1-0/+5
themselves. For that, the physics module simply calls RequestAssetMethod, which in turn points to Scene.PhysicsRequestAsset. This gives physics access to the asset system without introducing unwanted knowledge of the scene class.
2012-05-31Add an optional mechanism for physics modules to collect and return ↵Justin Clark-Casey (justincc)1-0/+14
arbitrary stats. If active, the physics module can return arbitrary stat counters that can be seen via the MonitoringModule (http://opensimulator.org/wiki/Monitoring_Module) This is only active in OdeScene if collect_stats = true in [ODEPhysicsSettings]. This patch allows OdeScene to collect elapsed time information for calls to the ODE native collision methods to assess what proportion of time this takes compared to total physics processing. This data is returned as ODENativeCollisionFrameMS in the monitoring module, updated every 3 seconds. The performance effect of collecting stats is probably extremely minor, dwarfed by the rest of the physics code.
2011-11-25remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2011-11-22Comment out uncalled OdeScene.UnCombine()Justin Clark-Casey (justincc)1-8/+2
2011-10-18Store scene identifier passed in to OdeScene for later debug messagesJustin Clark-Casey (justincc)1-0/+5
2011-10-15refactor: make methods that do not need to be public in ODE private or ↵Justin Clark-Casey (justincc)1-1/+0
internal to aid code reading/analysis. Remove some unused method arguments
2011-10-14Extract NullPhysicsScene from PhysicsScene to improve code readabilityJustin Clark-Casey (justincc)1-88/+4
2011-10-13refactor: move 3x copy/pasted ode structure removal code in ODECharacter ↵Justin Clark-Casey (justincc)1-1/+22
into a DestroyOdeStructures() method also adds some method doc
2011-08-01refactor: centralize prim geom removal code from four places to oneJustin Clark-Casey (justincc)1-0/+4
2011-07-20Removed unused AddPrimShape methods in PhysicsScene caused by merge conflictsDan Lake1-14/+0
2011-07-15Fix some local id issues in physics glueroot1-12/+7
2011-07-12Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)1-1/+23
I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
2011-07-08minor: commented out log lines for future use and very small code tidyJustin Clark-Casey (justincc)1-1/+4
2011-06-15Add localID to physical object creation functions.Mic Bowman1-0/+15
2009-12-05* Adds Normal to the fields returned by the Physics RaycasterTeravus Ovares (Dan Olivares)1-2/+2
* Fixes recognizing when a sit target is and isn't set. * * 1. Vector3.Zero. * * 2. Orientation: x:0, y:0, z:0, w:1 - ZERO_ROTATION * * (or) Orientation: x:0, y:0, z:0, w:0 - Invalid Quaternion * * (or) Orientation: x:0, y:0, z:1, w:0 - Invalid mapping, some older objects still exist with it
2009-10-27Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman1-0/+5
The scene is still the one reporting dilation so this does not break the API or remove flexibility, but it gets the calculation happening in the right place for the normal OpenSim usage. The actual calculation of physics time dilation probably needs tweaking
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-16/+16
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)1-0/+5
right in the new border framework. * This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-08-18* Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)1-1/+1
2009-08-15* part one of adding physics combiningTeravus Ovares (Dan Olivares)1-0/+10
2009-07-23Formatting cleanup.Jeff Ames1-1/+1
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-0/+36
a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-02-15This started as way to correct Mantis #3158, which I believe should be fixed ↵diva1-2/+2
now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-08Reverts patch from tuco/mikkopa/sempuki mantis #3072Teravus Ovares1-6/+0
2009-02-03Change access levels from private to protected to facilitateMike Mazur1-0/+6
subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
2008-12-26* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares1-0/+64
* Thanks nlin! * To try it out, set ninja joints active in the ODEPhysicsSettings and use the example at: * http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz. * Don't forget to change the .tgz to .oar and load it with load-oar.
2008-11-12* refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey1-1/+1
SceneGraph to make it more descriptive of its intended function
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-1/+1
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-05-25* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares1-0/+9
2008-05-14* Refactored IConfigSource into Physics plug-ins and Scene. We can get rid ↵Teravus Ovares1-2/+3
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-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-3/+3
(this took a while to run).
2008-03-18Formatting cleanup.Jeff Ames1-28/+28
2008-03-10* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares1-0/+6
* Added WaterLevel support to the ODEPlugin. More on this later.
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-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 Ames1-4/+4
2008-02-05Converted logging to use log4net.Jeff Ames1-7/+9
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2007-12-27* Optimized usingslbsa711-6/+9
* shortened references * Removed redundant 'this' * Normalized EOF
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-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-1/+1
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-10* Moves the Meshmerizer to a separate pluginTeravus Ovares1-1/+10
* Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....