aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add test to check behaviour if an iar is loaded where no user profile exists ↵Justin Clark-Casey (justincc)2009-09-091-16/+6
| | | | | | for the creators Disable generation of temporary profiles for now, instead record loading user as creator
* * Fix for GetTerrainHeightAtXY to make it compatible when ↵Teravus Ovares (Dan Olivares)2009-09-041-3/+4
| | | | Constants.RegionSize isn't 256
* * Fixes the function 'GetTerrainHeightAtXY'Teravus Ovares (Dan Olivares)2009-09-041-16/+26
|
* * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)2009-09-021-1/+72
| | | | | | 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.
* Thank you, dslake, for a set of patches to improve OpenSim startupMelanie2009-09-021-5/+5
| | | | and idle performance.
* * It turns out that Physics heightmap values were being stored in managed ↵Teravus Ovares (Dan Olivares)2009-08-211-22/+27
| | | | memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
* * Fixes Terrain issues with combined regions.Teravus Ovares (Dan Olivares)2009-08-201-65/+133
|
* *remove conflictsTeravus Ovares (Dan Olivares)2009-08-181-9/+4
|\
| * Did I say that i don't like git? Remove some stuff that shouldn't haveMelanie2009-08-171-30/+8
| | | | | | | | gone in.
| * Add System.Xml reference to the console projectMelanie2009-08-171-8/+30
| |
| * Misc cleanup.Jeff Ames2009-08-161-9/+4
| |
* | * Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)2009-08-181-47/+54
| |
* | Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-08-151-6/+4
|\ \ | |/
| * Formatting cleanup. Fix some compiler warnings.Jeff Ames2009-08-131-6/+4
| |
* | * part one of adding physics combiningTeravus Ovares (Dan Olivares)2009-08-151-0/+9
|/
* * Fix one physics crash for regions larger then 512mx512mTeravus Ovares (Dan Olivares)2009-08-081-1/+4
|
* * Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)2009-08-071-9/+38
| | | | 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-1/+2
|
* * Whoops, forgot the water heightfield.Teravus Ovares2009-07-221-1/+1
|
* * Exclude heightfield geom from the raycast test. Teravus Ovares2009-07-221-1/+1
| | | | | * Fixes mantis #3922
* * nothing in this commit, re-triggering panda.. which crashed while testing.Teravus Ovares2009-07-211-1/+1
|
* * Fixed a case where a prim was a NullPhysicsActor instead of an OdePrimTeravus Ovares2009-07-211-72/+100
| | | | | | * Commented logic that wasn't being used. * This should fix the errors in OdeScene.near
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-1/+22
| | | | | | | | | 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)
* Experimental fix for tilted avatar capsule, Mantis #2905nlin2009-07-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Set av_capsule_tilted to false in opensim.ini. Default is true, so there is no change in avatar behavior (and no breaking of existing content which relies on the tilted capsule). This commit straightens up the avatar capsule so it behaves consistently (e.g. same collision behavior against prims regardless of which direction the avatar is coming from; ability to fit through narrow doorways). Please note this introduces other side effects which have not been fixed. In particular: * The avatar frequently falls through the terrain if it is not flat, though the avatar behaves pretty well on flat terrain. This requires investigation of the ode terrain collider. * The apparent foot position of the avatar with respect to the ground is changed. This requires investigation of the avatar height/capsule height. Please consider this as work in progress.
* - fixes a "collection out of sync" exception in the ODE physicsDr Scofield2009-06-251-33/+44
| | | | | | | engine, caused by an "avatar infinite position" occurring under heavy load. - fixes "value too small" exception in ChatModule
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-101-2/+2
| | | | | | | | Eat collision errors --- NOTE: this fix might be naive, it seems to have helped us getting to 81 avatars (whereas we'd crash with 20 before), but it sure would benefit from some check-over by a person skilled in the art of ODE physics.
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* cleaning out warnings.Dr Scofield2009-05-221-1/+1
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* * Allow passing of material type to physics engineTeravus Ovares2009-04-201-19/+241
| | | | | * Define low friction and medium bounce for Glass
* Added a "force_simple_prim_meshing" option to the ODE settings in ↵Dahlia Trimble2009-04-191-25/+18
| | | | | | | OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings. Note that this will increase memory usage and region startup time.
* From: Alan M Webb <alan_webb@us.ibm.com>Dr Scofield2009-03-311-1/+9
| | | | | | | Add sanity check to fly-height calculation so that it does not attempt to retrieve information from non-existent regions.
* * Fixing thread safety of avatar adding and removing from the Physics Scene ↵Teravus Ovares2009-03-301-6/+25
| | | | | | | in the ODEPlugin * This may help one of the symptoms or mantis 3363 , however it probably won't solve the occasional NonFinite Avatar Position detected.. issues that some people see. That is probably an entirely different issue(NaN).
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-111-4/+4
| | | | | | | * In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
* Correct a typo, purely cosmetic.idb2009-03-071-1/+1
| | | | | FixesMantis #3263
* * Making the minimum ground offset for flying a configurable offset in the ↵Teravus Ovares2009-03-071-0/+3
| | | | | | | OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator. * minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora See OpenSim.ini.example for an example.
* * fixes mantis 3259Teravus Ovares2009-03-071-0/+9
| | | | | * I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.
* * Added some limits to the maximum force applied per second by ↵Teravus Ovares2009-03-071-1/+9
| | | | llMoveToTarget. Currently, it's 350 times the mass in newtons applied per second, maximum.
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-0/+5
| | | | | | | | | | llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, and it should recalculate the absolute height to hover at as an object moves to reflect the current ground/water height under it. Correctly implementing required adjusting the Physics interfaces and implementing at the physics plug-in level. The attached is a patch that correctly implements llSetHoverHeight() including updates to the ODE physics plug-in.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-4/+4
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* This started as way to correct Mantis #3158, which I believe should be fixed ↵diva2009-02-151-1/+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.
* Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames2009-02-131-2/+2
| | | | warnings. Fix some m_log declarations.
* Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - ↵Dahlia Trimble2009-02-121-8/+10
| | | | Mantis #3134
* * Some minor cleanupTeravus Ovares2009-02-081-30/+30
| | | | | * sealed OdeScene
* Reverts patch from tuco/mikkopa/sempuki mantis #3072Teravus Ovares2009-02-081-100/+100
|
* * Limit the total number of joints created per frame to the maximum possible ↵Teravus Ovares2009-02-081-12/+53
| | | | | | | | without causing a stack collision. * This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit). After the maximum joints are created, objects will start to fall through the ground and be disabled. Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread. * Make a clean region, make a stack of 5000 prim, 20 layers high. Make them physical, *SLOW*, but no crash.
* * Fixes colliding with the terrain lower then 0 and higher then 256mTeravus Ovares2009-02-081-11/+10
| | | | | | * The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number). This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
* Change access levels from private to protected to facilitateMike Mazur2009-02-031-100/+100
| | | | | | subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
* * Tweaks some locks when modifying an ODECharacter. This actually allows a ↵Teravus Ovares2009-01-311-0/+3
| | | | | | | user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit. * If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain. Once the sim finishes starting up, it'll all resume as normal.
* Improve parsing of joint parameters for NINJA physics (Mantis #2966). nlin2009-01-141-1/+1
| | | | | | | | Multiple spaces or leading/trailing spaces when specifying the prims to connect should no longer cause problems.
* Slight optimisation: Don't check for duplication if we won't use the result ↵Homer Horwitz2008-12-311-7/+7
| | | | anyway.