aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaksJustin Clarke Casey2008-12-151-3/+3
| | | | | | | * 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-141-0/+13
| | | | | | | ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
* * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares2008-12-091-0/+7
| | | | | | * 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.
* * refactor: change some method names and doc in the physics plugin managerJustin Clarke Casey2008-11-201-13/+13
| | | | | | * move the directory choice for plugins outside into RegionApplicationBase
* * Allow physics dlls to be loaded separately, rather than just the contents ↵Justin Clarke Casey2008-11-201-12/+30
| | | | | | | | of bin/Physics * This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
* * refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey2008-11-121-1/+1
| | | | SceneGraph to make it more descriptive of its intended function
* * minor: Make some 'startup config failed to load' log messages more consistentJustin Clarke Casey2008-11-061-1/+1
|
* Implement the plumbing for llSetVehicleType from the LSLCharles Krinke2008-09-281-0/+7
| | | | | | subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
* Added the plumbing for llSetVehicleRotationParamCharles Krinke2008-09-281-0/+6
| | | | | | in the classes between the LSL implementation and the underlying physics engines.
* Plumb the connection though from llSetVehicleVectorParamCharles Krinke2008-09-281-4/+9
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* Plumb the connection through from llSetVehicleFloatParamCharles Krinke2008-09-281-2/+9
| | | | | | | to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-064-32/+62
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data ↵Dahlia Trimble2008-08-271-0/+1
| | | | after conversion to pinned lists.
* Formatting cleanup.Jeff Ames2008-08-182-3/+0
|
* Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble2008-07-241-1/+2
| | | | units may not match the Linden implementation.
* Overloads CreateMesh method of interface IMesher to pass prim physical ↵Dahlia Trimble2008-07-122-0/+6
| | | | status to mesher
* properly explaining each #pragma warning disableDr Scofield2008-06-301-0/+1
| | | | | | massaging OSHttpRequestPump to not abort on exceptions...
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-101-10/+10
|
* *Fixed bug that caused failure when System.Console.Readline returns null (no ↵mingchen2008-06-091-4/+10
| | | | | | | stdin) *Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
* * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2008-05-252-1/+13
|
* * Releases Pinned vertex/index list in ODE on next mesh request.Teravus Ovares2008-05-251-0/+2
|
* * This finishes the ODE options section of the OpenSim.ini.example. I've ↵Teravus Ovares2008-05-162-2/+2
| | | | | | | | added 44 configurable options! * This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties. * The options range from gravity.. to avatar movement speed, to friction management.. to object density.. to update throttling.
* Formatting cleanup.Jeff Ames2008-05-164-18/+18
|
* * Refactored IConfigSource into Physics plug-ins and Scene. We can get rid ↵Teravus Ovares2008-05-142-4/+6
| | | | | | | of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on * The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
* * If you llApplyImpulse on an attachment, it applies impulse on the avatar, ↵Teravus Ovares2008-05-061-2/+2
| | | | not the attachment.
* * Committing some collision stuffs that I'm working on.Teravus Ovares2008-05-031-5/+30
| | | | | * Nothing user facing yet.
* * Tuned the llMove2Target PID controller to be more reasonable and not ↵Teravus Ovares2008-04-241-0/+9
| | | | overshoot the target.
* * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares2008-04-232-1/+6
| | | | | | | | * Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results. * Three axis works well enough to play with it anyway. More work is needed here. * Fixed an incorrectly named method in ODE.NET
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-214-9/+5
| | | | (this took a while to run).
* * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares2008-03-251-0/+9
| | | | | | | * It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
* Formatting cleanup. Minor refactoring.Jeff Ames2008-03-181-39/+6
|
* * Remove unused (and somewhat nonsensical) method in PhysicsActorJustin Clarke Casey2008-03-181-7/+0
| | | | | | * Thanks for DrScofld for drawing attention to this
* Formatting cleanup.Jeff Ames2008-03-189-252/+244
|
* * Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares2008-03-141-8/+8
|
* ODEPluginTeravus Ovares2008-03-101-0/+8
| | | | | | | | | * 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-102-0/+12
| | | | | * Added WaterLevel support to the ODEPlugin. More on this later.
* * This is a very icky implementation of physical linkset prim using fixed ↵Teravus Ovares2008-03-021-0/+14
| | | | | | | | | 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.
* * Added Support within the ODEPlugin for Selected. Which means that;Teravus Ovares2008-02-231-0/+7
| | | | | | | | * 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.
* * A few additional null checks in the Physics Scene and PhysicsActor so we ↵Teravus Ovares2008-02-211-9/+2
| | | | don't try to enumerate dead null ODECharacter objects when things get *really* slow.
* * Found the land bug, yayTeravus Ovares2008-02-201-4/+16
|
* Minor cleanup.Jeff Ames2008-02-201-1/+1
|
* * Fixed a long standing race condition in physics events. Could this be ↵Teravus Ovares2008-02-201-3/+3
| | | | the source of the null on multicast_void: error?
* More exception checks and crash hintsTedd Hansen2008-02-181-0/+8
| | | | | If no scriptengine is specified then don't try to load any.
* ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares2008-02-181-2/+2
| | | | got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
* * Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2008-02-172-1/+8
| | | | | | | | 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.
* Added copyright notices.Jeff Ames2008-02-171-0/+28
|
* * Bigish ODE stability Update. Run PrebuildTeravus Ovares2008-02-132-0/+53
|
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-0/+8
| | | | | | | | | | (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.
* Clean up more unnecessary String.Format callsJeff Ames2008-02-131-1/+1
|
* * A bunch of updates to make things more smooth.Teravus Ovares2008-02-121-1/+56
| | | | | | | | | | | ** 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.