aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/PhysXPlugin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'vehicles' into testsKittoFlora2009-10-271-62/+60
|\ | | | | | | | | | | | | Conflicts: OpenSim/Region/Physics/Manager/PhysicsActor.cs OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
| * Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-62/+60
| |
* | Add llRotLookat pt1.KittoFlora2009-10-261-0/+44
|/
* * Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares2009-07-191-0/+1
| | | | | | | | | 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)
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-012-2/+2
| | | | LICENSE.txt.
* * Upped version number to 0.6.5lbsa712009-05-251-1/+1
|
* * Upped trunk version number to 0.6.4 as we just tagged 0.6.4-releaselbsa712009-04-011-1/+1
|
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-0/+13
| | | | | | | | | | 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.
* * minor: Remove most mono compiler warningsJustin Clarke Casey2009-02-251-1/+1
|
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-221-3/+7
| | | | | | | | | * 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.
* * remove mono compiler warningsJustin Clarke Casey2008-12-171-2/+2
| | | | | | * 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-151-3/+6
| | | | | | | * 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/+18
| | | | | | | 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/+11
| | | | | | * 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.
* Implement the plumbing for llSetVehicleType from the LSLCharles Krinke2008-09-281-0/+12
| | | | | | 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/+10
| | | | | | in the classes between the LSL implementation and the underlying physics engines.
* Plumb the connection though from llSetVehicleVectorParamCharles Krinke2008-09-281-6/+14
| | | | | | | 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-0/+12
| | | | | | | 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-061-6/+6
| | | | | | | * 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.
* Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble2008-07-241-0/+2
| | | | units may not match the Linden implementation.
* * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2008-05-251-0/+8
|
* * Refactored IConfigSource into Physics plug-ins and Scene. We can get rid ↵Teravus Ovares2008-05-141-1/+2
| | | | | | | 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-0/+25
| | | | | * Nothing user facing yet.
* * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares2008-04-231-0/+10
| | | | | | | | * 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
* * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares2008-03-251-0/+6
| | | | | | | * 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.Jeff Ames2008-03-182-56/+54
|
* ODEPluginTeravus Ovares2008-03-101-0/+10
| | | | | | | | | * 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-0/+17
| | | | | * 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/+20
| | | | | | | | | 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/+10
| | | | | | | | * 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.
* ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares2008-02-181-1/+1
| | | | 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-171-0/+10
| | | | | | | | 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.
* * Bigish ODE stability Update. Run PrebuildTeravus Ovares2008-02-131-0/+8
|
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-0/+10
| | | | | | | | | | (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.
* * Added PhysicsScene.Dispose()Teravus Ovares2008-02-111-0/+3
| | | | | * In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
* Converted logging to use log4net.Jeff Ames2008-02-051-1/+1
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Implemented grab and throw in ODE. It's a little strong still so toss ↵Teravus Ovares2008-01-291-0/+20
| | | | 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.
* * Optimized usingslbsa712007-12-272-64/+62
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Re-did the mass calculations in ODE for Prim Teravus Ovares2007-12-191-3/+39
| | | | | | | * Exposed the mass as a PhysicsActor read only property (so scripts can get at it - hint hint -) * Hollow and Path Cuts affect the prim mass (all Hollow Types are supported in this calculation (sphere,square,triangle)) * Prim no longer sink into the ground.
* * Added some simstats to fill the simulator pane of the Statistics monitor.Teravus Ovares2007-12-121-1/+3
| | | | | * I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
* saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames2007-12-102-3/+3
| | | | notice of doom
* *Huge* structural changes in ODE/OdePrim to get all of the calls in ↵Teravus Ovares2007-11-201-0/+3
| | | | | | | threadlocked code. ODEPrim was almost completely re-written. Copy/Space test needed.
* cleaned up some mono compiler warningsJeff Ames2007-11-181-58/+55
|
* * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.Teravus Ovares2007-11-121-0/+10
| | | | | * All thanks to unimplemented packet listing :D
* * Added a lot of Glue to help with reporting proper collisions.Teravus Ovares2007-11-121-3/+31
| | | | | | | | | | * ODE - Fixed the iscolliding property to report a static true when colliding. * Added reporting of collisions to call UpdateMovementAnimations * Added Jump - air animation (with arms outstretched). * Added Fall Animations * ODE - Added a small amount of X, Y motion control while jumping or Falling * ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
* * Moves the Meshmerizer to a separate pluginTeravus Ovares2007-11-101-0/+6
| | | | | | * Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....