aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't subscribe collision events for nonphysical parts only because ofUbitUmarov2012-07-141-1/+1
| | | | collision sounds. Let them be passive
* Revert "Add instrumentation to log finalizer being called. Suppressed for ↵Melanie2012-07-121-11/+6
| | | | | | backup" This reverts commit ea91a36483f3eba90e16b664715d152f9eca2980.
* Add instrumentation to log finalizer being called. Suppressed for backupMelanie2012-07-111-6/+11
| | | | | interim copies to avoid spammage. Not for release to the grid, must be reverted first!
* let SOP AngularVelocity set physics actor angular velocity if it'sUbitUmarov2012-07-101-1/+9
| | | | | | | physical root prim and not a vehicle. With this llSetAngularVelocity should work and also llTargetOmega will do the same in this case. but for now this llTargetOmega is being a normal physical rotation with damping, and stops with selection. Thats not like SL apparently
* more work on llSetAngularVelocity()UbitUmarov2012-07-101-1/+28
|
* Add saving vehicle physics data to the databaseMelanie2012-07-071-20/+20
|
* added llSetVelocity. will refuse to work on vehicles and on attachments ( ↵UbitUmarov2012-07-061-0/+28
| | | | this last may need fix) added also some code for llSetAngularVelocity but not working still
* fix turning off phanton always decreasing number of physical partsUbitUmarov2012-06-211-28/+28
|
* Revert changes...UbitUmarov2012-06-151-21/+3
| | | | This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
* Add sop IsPhysical and IsPhantom to be used gradually in core in place of ↵UbitUmarov2012-06-151-3/+21
| | | | asking physics engines all the time. Some engines delays may make them give wrong answers.
* Fix land collisions to work like SL.Melanie2012-06-051-6/+16
|
* Actually trigger land collisions in the root even when a child collidesMelanie2012-06-041-1/+1
|
* Fix collision filteringMelanie2012-05-291-10/+10
|
* missing update script events callUbitUmarov2012-05-201-1/+12
|
* a bit faster collision sound type verification plus a few fixes/changesUbitUmarov2012-05-191-20/+60
|
* modulate collision sound intensity with collision relative velocity for ↵UbitUmarov2012-05-191-16/+29
| | | | parts also
* trigger collision sounds on active agent position for better spatial effect ↵UbitUmarov2012-05-171-16/+4
| | | | without using the detailed collision position. (current error will be half max physical prim size). Moved some checks from sop to collisionSound code
* default colisionVolume is 0, use it only for user specified soundUbitUmarov2012-05-171-3/+6
|
* default collision sounds. Incomplete, untested, needs revisionUbitUmarov2012-05-171-1/+1
|
* collision sounds: simplify send code a bit and limit sending rate to 5 per ↵UbitUmarov2012-05-161-1/+36
| | | | sec per part ???
* Added a invalidCollisionSoundUUID so that scripts can stop all collision ↵UbitUmarov2012-05-161-4/+13
| | | | sounds with llCollisionSound("",...). UUID.Zero means defaults should be used. In case part has several scripts with confliting llCollisionSound result depende on exec order. Specially on reset the efect of "" depends on reset order, it should override the others. This is intermediate improve(?) since collisions sounds seem to need a deaper revision.
* use part VolumeDetectActive and not rootPart.VolumeDetectActive to be ↵UbitUmarov2012-05-151-2/+5
| | | | coerent with other places in case of future changes. Should be equivalent if all is well.
* sop colisions don't play sounds on volume detectorsUbitUmarov2012-05-151-1/+1
|
* sop: - added UpdatePhysicsSubscribedEvents() to update physics ator ↵UbitUmarov2012-05-151-48/+118
| | | | collision events subcription where needed. Made it consider also VolumeDtc and phantom cases. - added extra calls to it on physics ator proprieties changes. - Fixed land collisions reports. - Handle the case of physics sending a last zero colisions reports to trigger collision_end. - Made the physics collisions report rate be 20 per second. (needs review/testing)
* Port the mel/dahlia fixMelanie2012-05-151-0/+3
|
* don't send colision events to volume detectorsUbitUmarov2012-05-151-1/+2
|
* Fix an omissionMelanie2012-05-151-1/+1
|
* Completely revamp collision handling. Now works as it is supposed to.Melanie2012-05-141-501/+171
|
* Preserve attachment rotation on objects rezzed via a script. Makes toastersMelanie2012-05-021-0/+3
| | | | work right, finally.
* fix llGetCenterOfMass ( checked with ubitODE only)UbitUmarov2012-04-281-3/+37
|
* changed seletion code. SOP now knows about parts selection. UI actions are ↵UbitUmarov2012-04-201-0/+14
| | | | sent to SOP and this reports to SOG. Group is selected if any part is selected.sop.isSelect get() is only used in SOG. Will need to be improved for better performance on largelinksets. *UNTESTED* NEEDS CHECKING for side efects
* changed - VolumeDetect and phantom setting interaction. Script VD(true) ↵UbitUmarov2012-04-191-11/+28
| | | | forces phantom ON. UI phantom off turns off VD. Other transitions should only change specific parameter. This is not as current SL. - Fixed volumedetect prims being wrongly removed from physics.
* make llGetGeometricCenter() work as in current SL. Now this is not real geom ↵UbitUmarov2012-04-091-9/+20
| | | | center but a average of positions relative to root prim ignoring prims details, so no need to use physics engine.
* sop.AddToPhysics(..) fixed and in use. For now it seems it needs to set ↵UbitUmarov2012-04-091-263/+147
| | | | sop.PhysActor, so made it return void.
* Merge branch 'master' into careminsterMelanie2012-04-071-22/+60
|\ | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/CoreModules/World/Land/LandObject.cs OpenSim/Region/Framework/Scenes/Scene.Inventory.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)2012-04-071-2/+0
| | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
| * Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2012-04-071-2/+0
| | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use.
| * refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)2012-04-061-10/+1
| |
| * Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2012-04-061-3/+13
| | | | | | | | | | | | | | | | or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
| * remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2012-04-031-57/+74
| | | | | | | | | | | | prim collision status factor out common SOP physics scene adding code into a common SOP.AddToPhysics() that is the counterpart to the existing RemoveFromPhysics()
* | minor changes.. a few physicsactor -> pa and a use a constant with |'ed ↵UbitUmarov2012-04-041-35/+31
| | | | | | | | bit fields in place of 6 individual checks ||'ed
* | remove more merge artefactsUbitUmarov2012-04-041-10/+3
| |
* | reverted changes to llApplyRotationalImpulse execution in SOP/SOG. This ↵UbitUmarov2012-04-041-1/+1
| | | | | | | | functions naming is misleading, Here Apply means to apply a instante impulse that may add to previus unprocessed ones and not setting a permanente torque (that is done by llSetTorque).
* | Fix the last merge artefactsMelanie2012-04-031-4/+5
| |
* | Fix more merge artefactsMelanie2012-04-031-3/+3
| |
* | Remove duplicate implementation of Material { get; set; }Melanie2012-04-031-14/+0
| |
* | Fix merge artefactsMelanie2012-04-031-1/+1
| |
* | Merge branch 'master' into careminsterMelanie2012-04-031-54/+98
|\ \ | |/ | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)2012-04-031-91/+116
| | | | | | | | | | | | | | | | null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
* | fix a bad reset of shapetype on pbshape change, added missing ↵UbitUmarov2012-03-211-7/+10
| | | | | | | | checksculpload ( to reload mesh on change )