aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Minor formatting cleanup.Jeff Ames2009-03-072-8/+36
|
* 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-069-2/+177
| | | | | | | | | | 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
|
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-251-1/+1
|
* remove log4net dependency and from PrimMesher.csDahlia Trimble2009-02-242-7/+18
| | | | | sync PrimMesher.cs with PrimMesher.dll version 29 on forge
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-227-27/+41
| | | | | | | | | * 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-206-18/+18
| | | | 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-195-5/+5
| | | | 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-156-7/+12
| | | | 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.
* Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150Dahlia Trimble2009-02-151-0/+8
|
* 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-087-225/+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.
* Change access levels from private to protected to facilitateMike Mazur2009-02-037-216/+225
| | | | | | 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-312-17/+45
| | | | | | | 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.
* * More friendly OpenJpeg error handling.Teravus Ovares2009-01-211-0/+11
| | | | | | * Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that. * In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
* Fix an error in sculpt LOD calculationDahlia Trimble2009-01-211-3/+3
|
* 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.
* sync with primmesher r26 on forgeDahlia Trimble2009-01-041-36/+162
|
* Improve LOD scaling for anisotropic sculpted prim meshesDahlia Trimble2009-01-041-1/+2
|
* Slight optimisation: Don't check for duplication if we won't use the result ↵Homer Horwitz2008-12-311-7/+7
| | | | anyway.
* - Added the fixed Ode.NET.dllHomer Horwitz2008-12-311-5/+5
| | | | | | | | | - Adapted code to match the corrected signatures - Fixes Mantis #2934. Hopefully. Note: Physics on linked objects still don't work correctly: It doesn't crash the region anymore, but the example object in the mentioned mantis now falls through the ground.
* Added a missing setMass for initializing the mass of primsHomer Horwitz2008-12-311-1/+2
|
* * Remove mono compiler warningsJustin Clarke Casey2008-12-301-1/+0
| | | | | | * Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-303-112/+112
|
* * More NINJA Joint physics fixes from nlin.Teravus Ovares2008-12-283-11/+11
| | | | | fixes mantis #2874
* * Fixes mantis #2922Teravus Ovares2008-12-273-11/+11
| | | | | * Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
* * Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares2008-12-266-2/+769
| | | | | | | | | | * 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.
* Removed some debugging code that was inadvertently left in in my last commit :/Dahlia Trimble2008-12-221-3/+0
|
* Fix a floating point comparison that was causing some misshaped triangles on ↵Dahlia Trimble2008-12-221-8/+19
| | | | some prim faces
* Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke2008-12-202-2/+25
| | | | | | | | | | | | | | On a call of llVolumeDetect(1) (or any other number !=0) volume detection is enabled. Together with VD, the phantom flag is set to the GUI. On a call of llVolumeDetect(0), vd detection is switched of again, also the phantom state is removed. On a call to llSetState(STATE_PHANTOM, false) while VD is active, also VD is switched off. The same is true for unchecking the phantom flag via GUI. This allows to take back VD without the need to script just by removing the phantom flag. Things missing in this patch: persistance of the volume-detection flag. This needs more discussion and will be included in another patch soon.
* Enabled complex meshing for simple box prims with non-zero shearDahlia Trimble2008-12-181-2/+3
|
* * remove mono compiler warningsJustin Clarke Casey2008-12-174-8/+8
| | | | | | * should work - the last compile failure looks like a random glitch...
* * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey2008-12-158-20/+38
| | | | | | | * This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to. * Thanks Gerhard
* * Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares2008-12-148-3/+160
| | | | | | | ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
* * Added Avatar minimum size in the ODEPlugin and a stern warning about ↵Teravus Ovares2008-12-141-0/+15
| | | | setting the capsule size too low in OpenSim.ini
* * A Few physical prim + linkset fixes. Prevent some crashesTeravus Ovares2008-12-141-19/+51
|
* * Committing a slightly distilled version of nlin's ODECharacter race ↵Teravus Ovares2008-12-102-45/+139
| | | | | | | condition eliminator. * The modifications that I made were only so that it didn't require changes to the public physics api.
* * Fixes a few instances of llSetStatus with Axis lock gone wrong. Teravus Ovares2008-12-091-4/+46
| | | | | * Sums up the masses of the objects within a physical linkset
* Minor formatting cleanup.Jeff Ames2008-12-091-2/+2
|
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-099-1/+48
| | | | | | * Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
* clean up some old debugging codeDahlia Trimble2008-12-091-43/+0
|