aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-10/+10
2009-12-03* Fixes the 10x10x10 hard physics limitation. (wierdly, you have to set ↵Teravus Ovares (Dan Olivares)1-0/+2
this for each region in your Regions.ini[PhysicalPrimMax = 10(default)]) * Adds a configurable maximum object mass before the mass is clamped. Default is 10000.01. Configurable by changing maximum_mass_object in the [ODEPhysicsSettings] section. * Clamping the mass is important for limiting the amount of CPU an object can consume in physics calculations. Too high, and the object overcomes restitution forces by gravity alone. This generates more collisions potentially leading to 'deep think'.
2009-11-23* Resolves mantis 4390 http://opensimulator.org/mantis/view.php?id=4390Teravus Ovares (Dan Olivares)1-1/+1
2009-11-22* Adds a test for if the collision is at the bottom of the capsule on ↵Teravus Ovares (Dan Olivares)1-1/+12
avatar. This prevents the 'double jump' capability that's been occurring for ages when avatar collide with prim on the side.
2009-11-09Following various discussions on irc and in the OpenSim dev OSGrid meeting ↵Justin Clark-Casey (justincc)1-1/+1
last week, change av_capsule_tilted to false by default This appears to now give better ODE physics response (less sinking into the ground, etc.) Please change it back if this is actually a bad idea for some reason
2009-11-03minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+3
2009-10-29* Log progress messages when loading OAR files with a lot of assetsJohn Hurliman1-60/+67
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-28Always send a time dilation of 1.0 while we debug rubberbanding issuesJohn Hurliman1-1/+2
2009-10-28Limit physics time dilation to 1.0John Hurliman1-1/+1
2009-10-28* Reduce the velocity tolerance on sending terse updates to avoid slowly ↵John Hurliman1-3/+10
drifting prims/avatars * Added contacts_per_collision to the ODE config section. This allows you to reduce the maximum number of contact points ODE will generate per collision and reduce the size of the array that stores contact structures
2009-10-28Fixed a bad check on velocity in the ODE near() callback (it was only ↵John Hurliman1-3/+3
checking for velocity in certain directions, and was calling the get_Velocity() function three times)
2009-10-27Move the calculation of time dilation from the scene to the physics engine. ↵John Hurliman1-2/+9
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-28/+22
2009-10-26Do case-insensitive comparisons on region names in LLStandaloneLoginModuleJohn Hurliman1-2/+2
2009-10-26* Changed the watchdog timer to improve the speed of UpdateThread(), only ↵John Hurliman1-2/+6
track threads once the first call to UpdateThread() has been made, and allow re-tracking of threads that timed out but revived later * Added a commented out call to Watchdog.UpdateThread() in OdeScene. If it turns out that loading a large OAR file or some other operation is timing out the heartbeat thread, we'll need to uncomment it
2009-10-23Patch from dslake http://opensimulator.org/mantis/view.php?id=4291 0004291: ↵dslake1-2/+3
Inconsistent locking of ODE tainted prims
2009-10-19Forgot {} on last commit.Diva Canto1-0/+2
2009-10-19More instrumentation in physics.Diva Canto1-0/+2
2009-10-19Formatting cleanup.Jeff Ames1-1/+1
2009-10-18A bit of instrumentation to figure out what's going on with physics actors.Diva Canto1-0/+6
2009-10-16* One more attempt at the NullRef In The OdePlugin. This might fix it, but ↵Teravus Ovares (Dan Olivares)1-0/+21
it will definitely get us closer to the root cause.
2009-10-10* Make ODECharacter respect the scene's requested collision update timeTeravus Ovares (Dan Olivares)1-0/+1
* Set the Scene collision update time to 500 ms
2009-10-07Correct a build break caused by an optimization in trunkMelanie1-1/+1
2009-10-05minor: remove mono compile warningJustin Clark-Casey (justincc)1-5/+2
2009-09-30Commit initial version of KittoFlora's vehicle changesopensim1-16/+38
2009-10-01Formatting cleanup.Jeff Ames1-5/+5
2009-09-09Add test to check behaviour if an iar is loaded where no user profile exists ↵Justin Clark-Casey (justincc)1-16/+6
for the creators Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-04* Fix for GetTerrainHeightAtXY to make it compatible when ↵Teravus Ovares (Dan Olivares)1-3/+4
Constants.RegionSize isn't 256
2009-09-04* Fixes the function 'GetTerrainHeightAtXY'Teravus Ovares (Dan Olivares)1-16/+26
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)1-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.
2009-09-02Thank you, dslake, for a set of patches to improve OpenSim startupMelanie1-5/+5
and idle performance.
2009-08-21* It turns out that Physics heightmap values were being stored in managed ↵Teravus Ovares (Dan Olivares)1-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.
2009-08-20* Fixes Terrain issues with combined regions.Teravus Ovares (Dan Olivares)1-65/+133
2009-08-18* Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)1-47/+54
2009-08-17Did I say that i don't like git? Remove some stuff that shouldn't haveMelanie1-30/+8
gone in.
2009-08-17Add System.Xml reference to the console projectMelanie1-8/+30
2009-08-16Misc cleanup.Jeff Ames1-9/+4
2009-08-15* part one of adding physics combiningTeravus Ovares (Dan Olivares)1-0/+9
2009-08-13Formatting cleanup. Fix some compiler warnings.Jeff Ames1-6/+4
2009-08-08* Fix one physics crash for regions larger then 512mx512mTeravus Ovares (Dan Olivares)1-1/+4
2009-08-07* Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)1-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
2009-08-05* Remove some mono compiler warningsJustin Clark-Casey1-1/+2
2009-07-22* Whoops, forgot the water heightfield.Teravus Ovares1-1/+1
2009-07-22* Exclude heightfield geom from the raycast test. Teravus Ovares1-1/+1
* Fixes mantis #3922
2009-07-21* nothing in this commit, re-triggering panda.. which crashed while testing.Teravus Ovares1-1/+1
2009-07-21* Fixed a case where a prim was a NullPhysicsActor instead of an OdePrimTeravus Ovares1-72/+100
* Commented logic that wasn't being used. * This should fix the errors in OdeScene.near
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-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)
2009-07-08Experimental fix for tilted avatar capsule, Mantis #2905nlin1-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.
2009-06-25- fixes a "collection out of sync" exception in the ODE physicsDr Scofield1-33/+44
engine, caused by an "avatar infinite position" occurring under heavy load. - fixes "value too small" exception in ChatModule
2009-06-10From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-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.