aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Formatting cleanup.Jeff Ames2008-03-181-27/+26
|
* * Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares2008-03-141-1/+4
|
* * Added Linear Acceleration reporting to the ODEPlugin.Teravus Ovares2008-03-101-1/+21
| | | | | * Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
* ODEPluginTeravus Ovares2008-03-101-0/+32
| | | | | | | | | * Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level. * osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE); * By default, prim do not float at the water level. * More work is needed on the floating, but it's a start.
* * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.Teravus Ovares2008-03-101-3/+46
| | | | | * Added WaterLevel support to the ODEPlugin. More on this later.
* * Fixed a few things and enabling Physical Prim border crossings again.Teravus Ovares2008-03-091-9/+13
| | | | | * Everyone try to push a physical prim across a region border now.
* ODE PluginTeravus Ovares2008-03-091-1/+1
| | | | | | * More cleanup * Less noise
* * Fixed the Link + Duplicate + Unlink both = 'ODE Invalid Argument in ↵Teravus Ovares2008-03-091-26/+32
| | | | | | | | | Collision Space Crash' * Added: Console comment: [PHYSICS]: The scene reused a disposed PhysActor! *waves finger*, Don't be evil.
* * Cleaned up some locking on the ODEPlugin to make it more developer friendlyTeravus Ovares2008-03-091-90/+47
| | | | | * Expect the occasional deadlock?
* * Killed 4 more warnings (at 16 now)Teravus Ovares2008-03-061-1/+1
|
* * Four more warnings, etc etc.Adam Frisby2008-03-051-2/+0
|
* * Applied patch 708 from devalnor. Thanks devalnor!Teravus Ovares2008-03-031-11/+14
| | | | | | * ODE: Added support for larger box stacks. (they're slow, but they work) * ODEPlugin no longer tries to 'catch up' with the simulator frame rate if it gets behind. Catching up was causing a lot of problems with larger box stacks and other things that stall the simulator (like saving prim in the datastore)
* * This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares2008-03-021-120/+201
| | | | | | | | | joints. This will change quite drastically, however it's fun to play with. * To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly. This will also be fixed. * Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed. In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go. * This implementation is better then it crashing your sim, so I'm commiting it for now.
* * Fixed Cylinder mass formula using diameter instead of radius.Teravus Ovares2008-02-291-2/+2
|
* * killed a 'new mass' debug line.Teravus Ovares2008-02-291-1/+1
|
* * ODEPlugin Teravus Ovares2008-02-291-1/+207
| | | | | ** Added more realistic calculations of mass for the rest of the supported prim shapes+holes+cuts+tapers. Previously they were the generic height * width * length. Spheres roll (Angular velocity) more realistically, etc.
* * Made Physics updates a teensy bit more responsive. A previous CPU ↵Teravus Ovares2008-02-231-1/+5
| | | | optimization of mine slowed the speed of updates using the 'poll' method in certain circumstances.
* * One more fix to the selected featureTeravus Ovares2008-02-231-1/+1
| | | | | | * Don't act immediately on a physical prim unless it's moving. * This helps when you're trying to make a box stack and you select the bottom most box.
* * Added Support within the ODEPlugin for Selected. Which means that;Teravus Ovares2008-02-231-34/+209
| | | | | | | | * When you select a physical prim, it stops while you've got it selected. * When you move or alter a prim in some manner, it doesn't become collidable until you de-select it * When you select a prim, it doesn't become temporarily 'phantom' until you make some change to it while it's selected. (this prevents accidental selections in prim floor from causing it to go phantom on you(but don't move it or you'll fall)) * There's one major difference, and that's a physical object won't stop if you don't have permission to edit it. This prevents people who don't have edit permissions on a prim from stopping it while it's moving.
* * Last bit of cleanup now. As long as you keep physical prim off, you ↵Teravus Ovares2008-02-171-11/+13
| | | | | | | should have a reasonably stable experience with ODE again. * Physical prim at the simulator edge still seems to have the occasional issue.
* * Various ODE CleanupsTeravus Ovares2008-02-171-22/+31
|
* * Disabling physical prim crossings until they get a bit more stable.Teravus Ovares2008-02-171-7/+7
|
* * Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2008-02-171-7/+13
| | | | | | | | turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR. * Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore. * Avatars don't float off either.
* * ODE Stability update 4 :D Teravus Ovares2008-02-151-19/+141
| | | | | | * Changed the way meshing requests get sent to the ODEPlugin * Numerous other fixes
* * Removed the noise from the console. The last commit seems to have ↵Teravus Ovares2008-02-141-5/+2
| | | | resolved the recent reports of 'argument not a space' on linux. Though, there were about 50 changes :D
* * Another ODE Stability update. This might fix the recent Linux issues ↵Teravus Ovares2008-02-141-36/+135
| | | | with the ODEPlugin.
* * ODE - This fixes a few things and breaks a few more.Teravus Ovares2008-02-141-7/+15
|
* Cleaned up some typos.Jeff Ames2008-02-141-1/+1
|
* * Bigisn ODE Stability update 2Teravus Ovares2008-02-141-6/+37
|
* * Bigish ODE stability Update. Run PrebuildTeravus Ovares2008-02-131-88/+150
|
* * This fixes mantis 553 (It appears that the exception is thrown when there ↵Teravus Ovares2008-02-131-1/+1
| | | | is a collision with a cylinder that is both hollowed and either tapered or cut. The sequence of actions that reproduce the problem for me are: create a cylinder, hollow to 95%, taper X/Y, then collide it with another object or avatar. Note that the cylinder itself is not marked physical. )
* * Removed a debug line that got called every frame.Teravus Ovares2008-02-131-1/+1
|
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-8/+40
| | | | | | | | | | (though I still don't recommend it for welcome regions unless object build is off. * Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode. * Added internal collision score and am keeping track of 'high usage' prim. * Tweaked collisions some more * Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
* * Physical prim cross borders and continue from where the left off on the ↵Teravus Ovares2008-02-121-6/+38
| | | | other side now, assuming the region on the other side has physical prim enabled.
* * A bunch of updates to make things more smooth.Teravus Ovares2008-02-121-8/+32
| | | | | | | | | | | ** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation) ** Disabling prim that inter-penetrate instead of just not attaching a joint ** Reduced prim spin a 'little' bit, but not *enough* ** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter ** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets. ** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method. ** Upped the Inter-penetration depth to 0.25 instead of .08.
* * This resolves the null exceptions when a script is manipulating a physical ↵Teravus Ovares2008-02-121-0/+2
| | | | object in ODE and you delete the object. The script is still running and trying to add force, but the object reference is null.
* * um, Prim crossings? Experimental.Teravus Ovares2008-02-111-0/+1
| | | | | * Backup your database just in case.
* * Adds Top Shear support to the Meshmerizer for the Cube prim and the ↵Teravus Ovares2008-02-091-0/+5
| | | | Cylinder prim.
* * Tweaked timing of rapid mesh requests. Helps a race condition.Teravus Ovares2008-02-091-2/+13
|
* * This update adds limited support for Cylinder meshed prim in the ↵Teravus Ovares2008-02-081-0/+12
| | | | Meshmerizer plugin. (Limited because path cut is wrongly offset and while Hollowing works, you can walk through the inside wall.)
* Converted logging to use log4net.Jeff Ames2008-02-051-4/+6
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Experimental ODE Update to make ODE more stableTeravus Ovares2008-01-301-3/+25
| | | | | * WARNING: This update will break *nix support. Will be restored in the next revision
* * Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares2008-01-291-0/+11
| | | | gently at first to test the waters or you'll lose prim to the pit at the edge of the sim. Make sure the object is physical before trying to toss it or it'll just move to the new location.
* * When Scene loads, added a platform string print out for testing purposes. ↵Teravus Ovares2008-01-231-1/+1
| | | | Anyone on Debian want to run this revision and send me back the two platform lines? It would be helpful.
* Giving Mantis 393 a shot (not enough info to really know for sure though).Teravus Ovares2008-01-221-2/+18
|
* * Announcing the alternative prim early adoption program.. Adding regular ↵Teravus Ovares2008-01-191-3/+88
| | | | | | | spheres to the physical prim mix. * Be advised.. these are not ellipsoids.. these are spheres.
* * Added llApplyImpulse in the global frame. The object must be physical ↵Teravus Ovares2008-01-171-0/+31
| | | | before this'll do anything. Be careful with this function as it's easy to loose prim.
* * First pass at collidable linksetsTeravus Ovares2008-01-141-1/+3
| | | | | | | | | * There will be bugs, you can count on that. To avoid them, set the linksets phantom * After region restart, the linksets restore in a non collidable state. * Linksets can but shouldn't be made physical with the physical checkbox or when you unlink them, they tend to explode. * After creating a linkset, you have to move the linkset or set it phantom and not phantom for it to become collidable. * There's a few ParentGroup references that need to be refactored.
* * Optimized usingslbsa712007-12-271-97/+78
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * This update includes a wide range of changes to the ODEPlugin for avatar ↵Teravus Ovares2007-12-261-8/+0
| | | | | | | | | | movement, including: ** - avatar can navigate stairs better now ** - avatar can land without shooting into the air ** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m ** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.