aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-03Change access levels from private to protected to facilitateMike Mazur1-75/+75
subclassing; also add new method signatures. Thanks tuco and mikkopa. Fix Mantis #3072.
2008-12-31- Added the fixed Ode.NET.dllHomer Horwitz1-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.
2008-12-31Added a missing setMass for initializing the mass of primsHomer Horwitz1-1/+2
2008-12-26* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874Teravus Ovares1-2/+27
* 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.
2008-12-20Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:Charles Krinke1-1/+6
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.
2008-12-14* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ↵Teravus Ovares1-3/+80
ODEPlugin and pipes them to their respective LSL method. * NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-14* A Few physical prim + linkset fixes. Prevent some crashesTeravus Ovares1-19/+51
2008-12-09* Fixes a few instances of llSetStatus with Axis lock gone wrong. Teravus Ovares1-4/+46
* Sums up the masses of the objects within a physical linkset
2008-12-09* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.Teravus Ovares1-0/+5
* 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.
2008-12-07* Tweaks physics so that linked prim are a single body. This will make ↵Teravus Ovares1-77/+412
linked prim more stable and probably the last obstacle to vehicles physics wise. * Fixed a bug that caused physics proxies to be scattered when you link an object. * Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-11-09Clean up the mass < 0 logic a tiny bit whenCharles Krinke1-2/+1
calculating mass.
2008-10-16* Releases the inter-region thread synchronization between physics in ODE on ↵Teravus Ovares1-1/+1
the same instance. * If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance. * Single regions won't notice anything different
2008-10-14* Cleaned up tons of code duplication in ODEPrim Teravus Ovares1-265/+133
* Re-enabled the native ODE prim types when possible * Fixed several invalid assumptions in the prim recycle process. * Added better message for 'reused a disposed physicsactor' * Added a way to recover from errors during collision_optimized * Added a way to recover from an error condition where prim_geom wasn't reset properly
2008-09-28Implement the plumbing for llSetVehicleType from the LSLCharles Krinke1-0/+6
subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators.
2008-09-28Added the plumbing for llSetVehicleRotationParamCharles Krinke1-0/+5
in the classes between the LSL implementation and the underlying physics engines.
2008-09-28Plumb the connection though from llSetVehicleVectorParamCharles Krinke1-3/+7
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
2008-09-28Plumb the connection through from llSetVehicleFloatParamCharles Krinke1-0/+6
to the various physics engines. No connection to the underlying physics simulator yet, just plumbing through the various classes.
2008-09-21Update svn properties, minor formatting cleanup.Jeff Ames1-2/+2
2008-09-19re-enabled some ODE internal proxies for some simple prim types to try to ↵Dahlia Trimble1-50/+57
save some more memory
2008-09-18XEngine: fix collisions, add event coalescing for collision events.Melanie Thielker1-6/+4
Fix a nasty concurrency issue that could cause a high event frequency to start more than one thread pool job for a single script.
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-48/+48
* 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.
2008-08-27ODEPlugin now frees source mesh data after conversion to pinned lists to ↵Dahlia Trimble1-0/+2
save memory
2008-07-25Re-enables testing for config option mesh_sculpted_prim which was ↵Dahlia Trimble1-14/+14
inadvertently disabled in a prior modification (oops) :)
2008-07-24Changed application of constant forces to after PID force is applied. ↵Dahlia Trimble1-3/+7
llSetForce() should behave identical to the Linden implementation now.
2008-07-24Implements llSetForce() and llGetForce(). These are experimental and the ↵Dahlia Trimble1-3/+7
units may not match the Linden implementation.
2008-07-18refactor - commenting out needsMeshing() and all references as createMesh() ↵Dahlia Trimble1-125/+241
has the same logic and obsoletes the need for it.
2008-07-12Passes prim physical status to mesher from physics pluginsDahlia Trimble1-2/+2
Small prims now get a full mesh if they are physical Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12Overloads CreateMesh method of interface IMesher to pass prim physical ↵Dahlia Trimble1-1/+1
status to mesher
2008-06-27dr scofield's warnings safari:Dr Scofield1-5/+5
* commenting out unused variables
2008-06-02* While I couldn't reproduce it, I was able to see how it *might* happen, so ↵Teravus Ovares1-2/+5
therefore; fix to: 0001058: Physics crash when changing Type of Prim intersecting with ground.
2008-05-25* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares1-2/+3
2008-05-25* Releases Pinned vertex/index list in ODE on next mesh request.Teravus Ovares1-2/+15
2008-05-17Formatting cleanup.Jeff Ames1-133/+21
2008-05-16* This finishes the ODE options section of the OpenSim.ini.example. I've ↵Teravus Ovares1-37/+53
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.
2008-05-16Formatting cleanup.Jeff Ames1-113/+113
2008-05-15* Added about half of the planned ODE physics options to OpenSim.ini.example.Teravus Ovares1-4/+4
* Some will do cool things, some will make your scene explode dramatically if you're not careful.
2008-05-14Formatting cleanup.Jeff Ames1-3/+2
2008-05-06* If you llApplyImpulse on an attachment, it applies impulse on the avatar, ↵Teravus Ovares1-1/+1
not the attachment.
2008-05-03* Committing some collision stuffs that I'm working on.Teravus Ovares1-6/+41
* Nothing user facing yet.
2008-05-01Update svn properties. Minor formatting cleanup.Jeff Ames1-21/+9
2008-04-27* Single Attachments now work from inventory. You can attach from inventory ↵Teravus Ovares1-16/+16
and detach from inventory. * Detaching from right clicking in world, detaches to your inventory. * If you go up to a prim and attach it from in world, it appears in your inventory. * Attachment placement is saved when you detach them. * Choosing wear remembers your last attachment point from inventory. * Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client * Wrote a recursive method to find the folder of a known existing inventory item. * Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error. * Drop doesn't work. The menu item doesn't even come up. Don't know why :P.
2008-04-24* Tuned the llMove2Target PID controller to be more reasonable and not ↵Teravus Ovares1-8/+24
overshoot the target.
2008-04-24* Adds much better support for attachments that you right click on in world.Teravus Ovares1-10/+22
* Your friends can see your attachments now. People who appear in the sim after you've attached something can also see your attachments. * You can position & rotate your attachments now. Positions do *not* save. * You can detach attachments now the regular way. * Attachments do not cross into other regions with you..(this isn't too far off) * Updated ODE to not request terse updates on child prim.
2008-04-23* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)Teravus Ovares1-3/+138
* 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
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-9/+12
(this took a while to run).
2008-04-03* ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ).Teravus Ovares1-5/+12
2008-03-30* Minor cleanupTeravus Ovares1-4/+4
2008-03-25* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares1-4/+120
* 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.
2008-03-18Formatting cleanup.Jeff Ames1-27/+26
2008-03-14* Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares1-1/+4