aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you, Twitch, for a patch to restore mayhem and murder to OpenSimMelanie Thielker2009-07-141-6/+6
| | | | | | Fixes Mantis #3888
* Experimental fix for tilted avatar capsule, Mantis #2905nlin2009-07-082-7/+29
| | | | | | | | | | | | | | | | | | | | | | | 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-252-36/+53
| | | | | | | engine, caused by an "avatar infinite position" occurring under heavy load. - fixes "value too small" exception in ChatModule
* Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requestedMelanie Thielker2009-06-191-0/+1
|
* 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-104-7/+7
|
* * Pried apart the ODE tests. This fixes mantis #3212lbsa712009-06-021-0/+0
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-015-5/+5
| | | | LICENSE.txt.
* Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"Sean Dague2009-05-271-2/+1
| | | | | | | This reverts commit 8f0096cc7b112fea8f69f391224911f624482747. To get us back to compiling on fresh checkouts.
* * Added IntegrationTest Attribute and tagged the ODETestClasslbsa712009-05-271-1/+2
|
* * Upped version number to 0.6.5lbsa712009-05-251-1/+1
|
* cleaning out warnings.Dr Scofield2009-05-223-101/+99
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* * It turns out vehicle Angular Motor direction is always in global space.Teravus Ovares2009-04-201-7/+24
|
* * Prevent a vehicle crashTeravus Ovares2009-04-201-0/+13
|
* * Allow passing of material type to physics engineTeravus Ovares2009-04-202-19/+248
| | | | | * Define low friction and medium bounce for Glass
* * Rudimentary angular motor implementation for the LSL Vehicle APITeravus Ovares2009-04-192-8/+84
|
* 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.
* * A few fixes to the Linear MotorTeravus Ovares2009-04-171-15/+21
|
* * Add Implementation of Linear Motor and Linear friction from the LSL ↵Teravus Ovares2009-04-171-9/+73
| | | | Vehicle API in Physics
* * Set some minimum values to avoid divide by zero errors.Teravus Ovares2009-04-171-0/+14
|
* * Commit a few fixes to the Vehicle settingsTeravus Ovares2009-04-172-13/+67
| | | | | * Vertical Attractor servo
* * Remove some super experimental stuff in BulletDotNETPlugin since it was ↵Teravus Ovares2009-04-161-8/+15
| | | | | | | causing issues. * Tweak the ODEPrim PID a bit more.
* * Committing more BulletDotNETPlugin workTeravus Ovares2009-04-161-9/+286
| | | | | | * Tweak the LLSetStatus results in the ODEPlugin. Hopefully it's a little less unstable. * ODEPlugin is using experimental math for LLSetStatus, use with caution! :)
* * Adding some organization of vehicle type stuff in the ODEPlugin.Teravus Ovares2009-04-142-183/+422
| | | | | * Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
* * Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares2009-04-141-11/+100
| | | | | | | | | singularity. * WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted. * ODEPlugin does 'Almost NaN' sanity checks. * ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
* * Added finite testing to the character and object constructorTeravus Ovares2009-04-072-4/+35
|
* * Added a routine to check if a PhysicsVector and Quaternion is finiteTeravus Ovares2009-04-072-45/+179
| | | | | | * Now validating input to the Physics scene and warning when something is awry. * This should help nail down that Non Finite Avatar Position Detected issue.
* * Upped trunk version number to 0.6.4 as we just tagged 0.6.4-releaselbsa712009-04-011-1/+1
|
* 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.
* * Remove a debug line of localIDsTeravus Ovares2009-03-301-1/+1
|
* * Fixing thread safety of avatar adding and removing from the Physics Scene ↵Teravus Ovares2009-03-303-7/+29
| | | | | | | 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).
* Ensure the remembered velocity is zero when physical is turned off on a ↵idb2009-03-201-1/+5
| | | | | | | prim. Without this the velocity gets sent to the client and the prim appears to move. Fixes Mantis #3303
* * 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)
* * Tweak llMoveToTarget per mantis 3265Teravus Ovares2009-03-091-1/+1
| | | | | | | * Add some comments to the Wind Module * Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically). * Add m_sitState for upcoming code to improve sit results.
* 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-072-5/+11
| | | | | | | 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-072-2/+27
| | | | 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-063-1/+112
| | | | | | | | | | 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.
* * Fixing a few mass calculation errors suggested by jhurlimanTeravus Ovares2009-03-051-2/+2
|
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-224-11/+15
| | | | | | | | | * 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.
* * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa712009-02-201-3/+3
| | | | 0.6.3.* to better track down dll ref and overwrite problems.
* * Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor ↵lbsa712009-02-191-1/+1
| | | | poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
* 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-132-3/+3
| | | | warnings. Fix some m_log declarations.
* Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - ↵Dahlia Trimble2009-02-122-9/+21
| | | | Mantis #3134
* * Some minor cleanupTeravus Ovares2009-02-081-30/+30
| | | | | * sealed OdeScene
* Reverts patch from tuco/mikkopa/sempuki mantis #3072Teravus Ovares2009-02-085-216/+216
|
* * 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.