aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Return the last set targetVelocity rather than the current velocity as the ↵Robert Adams2012-12-131-5/+8
| | | | default action made available in PhysicsActor.TargetVelocity. Doesn't change any physics operation but makes DSG work better as the targetVelocity value does not keep moving around.
* Add TargetVelocity to PhysicsActor interface to support distributed physics. ↵Dan Lake2012-10-311-0/+6
| | | | No change to existing functions.
* Remove unused SetAcceleration and add set on Acceleration parameterDan Lake2011-12-201-1/+2
|
* Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of ↵Justin Clark-Casey (justincc)2011-11-211-0/+9
| | | | maintaining their own properties
* Actually remove PhysicsActor.SOPDescription this timeJustin Clark-Casey (justincc)2011-11-211-1/+3
|
* Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their ↵Justin Clark-Casey (justincc)2011-11-161-6/+10
| | | | | | | own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId! Instead, just have both subclasses use the PhysicsActor.LocalID property. This restores collision functionality that fell away in 45c7789 yesterday
* Fix a bug I introduced yesterday in ODE physics where prim scripts would ↵Justin Clark-Casey (justincc)2011-10-271-0/+2
| | | | only receive the very first collision.
* Remove unused fields from CollisionEventUpdateJustin Clark-Casey (justincc)2011-10-251-24/+6
|
* Get rid of the pointless null checks on collision listeners. Add warning ↵Justin Clark-Casey (justincc)2011-10-251-0/+6
| | | | about synchronicity for PhysicsActor.OnCollisionUpdate event doc
* When sending object collision updates, don't null out and recreate the ↵Justin Clark-Casey (justincc)2011-10-251-0/+5
| | | | CollisionEventUpdate() if the number of collisions falls to zero. Reuse the existing one instead.
* For ScenePresence collision events, instead of creating a new ↵Justin Clark-Casey (justincc)2011-10-251-0/+8
| | | | | | CollisionEventsThisFrame every time we need to send some new ones, reuse the existing one instead. This assumes that the listener is using the data synchronously, which is currently the case.
* More method doc and formatting changes. Makes DestroyOdeStructures() privateJustin Clark-Casey (justincc)2011-10-131-2/+23
|
* Add localID to physical object creation functions.Mic Bowman2011-06-151-1/+6
|
* Revolution is on the roll again! :)Revolution2010-02-141-0/+6
| | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
* Formatting cleanup. Add copyright headers.Jeff Ames2010-01-041-1/+1
|
* Glue code for a couple of new LSL function implementationsMelanie2009-12-221-2/+12
|
* * Log progress messages when loading OAR files with a lot of assetsJohn Hurliman2009-10-291-8/+21
| | | | | * Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
* Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-43/+43
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * Allow passing of material type to physics engineTeravus Ovares2009-04-201-0/+10
| | | | | * Define low friction and medium bounce for Glass
* Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:Charles Krinke2009-03-061-1/+25
| | | | | | | | | | 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.
* Reverts patch from tuco/mikkopa/sempuki mantis #3072Teravus Ovares2009-02-081-3/+0
|
* Change access levels from private to protected to facilitateMike Mazur2009-02-031-0/+3
| | | | | | subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
* * More NINJA Joint physics fixes from nlin.Teravus Ovares2008-12-281-2/+2
| | | | | fixes mantis #2874
* * Fixes mantis #2922Teravus Ovares2008-12-271-2/+2
| | | | | * 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-261-0/+3
| | | | | | | | | | * 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.
* * 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.
* 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-061-1/+1
| | | | | | | * 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.
* Formatting cleanup.Jeff Ames2008-08-181-2/+0
|
* Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble2008-07-241-1/+2
| | | | units may not match the Linden implementation.
* properly explaining each #pragma warning disableDr Scofield2008-06-301-0/+1
| | | | | | massaging OSHttpRequestPump to not abort on exceptions...
* * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2008-05-251-1/+4
|
* Formatting cleanup.Jeff Ames2008-05-161-11/+11
|
* * 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.
* * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares2008-04-231-0/+5
| | | | | | | | * 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/+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-181-27/+27
|
* * 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-101-0/+6
| | | | | * 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.