aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Return NPC instead of AGENT in the detect parameters for touch, collision andMelanie2012-06-281-0/+2
| | | | sensor.
* Disable physics raycast until it can be seen to. Fix distance calculationMelanie2012-06-261-2/+3
| | | | for some results.
* Correct a wrong error constantMelanie2012-06-261-1/+1
|
* Reapply the one change that was in the revert that was actually function, notMelanie2012-06-151-1/+1
| | | | form
* Revert changes...UbitUmarov2012-06-151-55/+34
| | | | This reverts commit c8227e1bb70817351de283fb647ec39f090fc9f1.
* SL doesn't let scripts rotate root part of physical linksets also fix ↵UbitUmarov2012-06-151-16/+27
| | | | sitting avatars rotations broken in previus commit, forcing send of updates.
* only rotation of root part change parts positions, so only call ↵UbitUmarov2012-06-151-21/+31
| | | | ResetChildPrimPhysicsPositions() if root part. Plus 'cosmetics'
* Merge branch 'avination' into ubitworkUbitUmarov2012-06-131-3/+11
|\
| * Add detecting non-physical phantoms back into raycastMelanie2012-06-131-3/+11
| |
* | Changed t adding the avatar dependent sit offset and not subtracting, so ↵UbitUmarov2012-06-131-25/+42
| | | | | | | | not to break inworld contents. SL ported scripts will show a sit error around 0.1m. Added respective compensation in LSL api to maintain coerence. Fixed several bugs still on SET/GET[link]PrimitiveParams[fast] and llGetObjectDetails()
* | convert a LSL rotation of <0,0,0,0> to <0,0,0,1> and not <0,0,1,0> in ↵UbitUmarov2012-06-131-1/+1
| | | | | | | | SitTarget. Something seems to be doing that before this gets called, but just in case...
* | Fixed llGetObjectDetails(), OBJECT_ROT for sitting avatars case, plus ↵UbitUmarov2012-06-131-9/+23
| | | | | | | | 'cosmetics' and added some parts costs information.
* | *TEST this will affect inworld sittargets by +-0.1m, so may be very BAD *. ↵UbitUmarov2012-06-131-9/+17
| | | | | | | | Changed the sign of the sitoffset dependent on avatar size in SP.cs. Removed that offset correction from SET/GET..primitiveParams in LSL api. If the sign needs to be the previus one, then all references to avatar positions on LSL api need to be fixed with that correction, not only SET/GETprimitiveParams.
* | try to replicate SL bug of PRIM_ROTATION also for avas, est a fix to other ↵UbitUmarov2012-06-121-3/+10
| | | | | | | | cases
* | fix the try.. finally in SetPrimitiveParams i did mess and add one for the ↵UbitUmarov2012-06-121-188/+156
| | | | | | | | avatars case, so to optimize a bit 'warp' scripts.
* | more changes to Get and Get primitiveparams: Let Get remove avatarheight ↵UbitUmarov2012-06-121-26/+94
| | | | | | | | adjust,add Get PRIM_LINK_TARGET handling, changed avatar Set positions code...
* | Moved auxiliar funtions of last commit from sop to lsl api since they are ↵UbitUmarov2012-06-121-5/+22
| | | | | | | | only used on one place each
* | *UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ↵UbitUmarov2012-06-121-3/+238
| | | | | | | | code in SOP.cs
* | Merge branch 'avination' into ubitworkUbitUmarov2012-06-113-5/+73
|\ \ | |/
| * Make llTeleportAgent conform to Magnum SL Server and add ↵Melanie2012-06-083-5/+73
| | | | | | | | llTeleportAgentGlobalCoords()
* | *UNTESTED* fix PRIM_LINK_TARGET. Make it work on avatars, set any pending ↵UbitUmarov2012-06-081-7/+37
| | | | | | | | position change on others; don't assume m_host is in same grp that part (possible always is)...
* | *UNTESTED* let SetPrimParams for avatars parse even unsupported parameters ↵UbitUmarov2012-06-081-2/+84
| | | | | | | | so that if a supported one is in the middle of then it still works.
* | *UNTESTED* added PRIM_POS_LOCAL and PRIM_ROT_LOCAL in SetPrimParams for ↵UbitUmarov2012-06-081-6/+46
|/ | | | avatars. Stopped setting position twice in normal SetPrimParams
* Typo correctionMelanie2012-06-071-1/+1
|
* Set collision sound type so custom sound types are recognizedMelanie2012-06-071-0/+2
|
* Prevent a null ref when getting the velocity of an avatar during login orMelanie2012-06-071-2/+3
| | | | logout.
* revert last bad commit but fix recoil directionUbitUmarov2012-06-051-4/+4
|
* Stop llRezAtRoot() from applying velocity setting impulse in ↵UbitUmarov2012-06-051-2/+3
| | | | World.RezObject, doing it only in itself, so its applyed after resuming scripts etc. It was giving twice the requested velocity.
* Fix llAttachToAvatar and "Attach" viewer option to preserve saved attach ↵Melanie2012-06-041-1/+1
| | | | positions.
* Fix LSL animation state reporting and animation state transitions on crossingMelanie2012-06-011-7/+33
|
* Prevent multiple requests to go physical from reaching the physics pluginMelanie2012-05-301-0/+4
|
* Added a invalidCollisionSoundUUID so that scripts can stop all collision ↵UbitUmarov2012-05-162-2/+10
| | | | 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.
* Merge branch 'avination' into ubitworkUbitUmarov2012-05-151-10/+11
|\
| * Completely revamp collision handling. Now works as it is supposed to.Melanie2012-05-141-10/+11
| |
* | make llGetCameraPos and llGetCameraRot apply to avatar that granted ↵UbitUmarov2012-05-141-4/+14
|/ | | | permission and not owner
* Mantis 6015 new LSL function llGetAgentList.Talun2012-05-114-0/+96
| | | | Details in the lsl wiki
* llGetGeometricCenter...UbitUmarov2012-04-291-1/+2
|
* fix llGetCenterOfMass ( checked with ubitODE only)UbitUmarov2012-04-281-1/+1
|
* fix (http://opensimulator.org/mantis/view.php?id=5965) llGetObjectMass was ↵UbitUmarov2012-04-161-2/+23
| | | | bad for sitted avatars not checking for the null physicsactor
* Let llCastRay use ubitODE raycast if avaiable plus a few changes/fixes that ↵UbitUmarov2012-04-161-22/+86
| | | | should be checked. PROBLEM: it will not detect nonphysical phantons :(
* llGetMass and llGetObjectMass (and push estimation) always use object mass ↵UbitUmarov2012-04-093-9/+30
| | | | as in current SL ( push is what makes sense or impulse will depend on what prim it is and not object). Added llGetMassMKS() that just returns 100 x llGetMass() as it seems to be in SL.
* Fix a LSL merge artefactMelanie2012-04-081-10/+2
|
* Merge branch 'master' into careminsterMelanie2012-04-072-17/+118
|\ | | | | | | | | | | | | | | | | 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
| * Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2012-04-071-1/+1
| | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use.
| * Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)2012-04-061-0/+1
| | | | | | | | | | | | functions. This is the same as PRIM_POSITION
| * refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)2012-04-061-4/+4
| |
| * Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2012-04-061-10/+11
| | | | | | | | | | | | | | | | 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
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-04-062-0/+82
| |\
| | * Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2012-04-062-0/+82
| | | | | | | | | | | | Signed-off-by: nebadon <michael@osgrid.org>
| * | For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)2012-04-061-3/+24
| |/ | | | | | | | | As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet).