Wang Novelli
Resident-
Posts
34 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Everything posted by Wang Novelli
-
after Upload ,the hands position is wrong and do not know what reason
-
but , the Example its right
-
-
upload it ,when i put it on my avatar,its wrong change other one~ but when i play a animation, its right
-
thx,You are too great vector myPos = llGetPos(); rotation myRot = llGetRot(); vector rezPos = myPos+relativePosOffset*myRot; vector rezVel = relativeVel*myRot; rotation rezRot = relativeRot*myRot; llRezAtRoot(llGetInventoryName(INVENTORY_OBJECT, 0), rezPos, rezVel, rezRot, startParam);
-
THX~~BUT I Don't understand, when i put them in touch_start ,it can be Rez. the same script touch_start(integer num_detected) { vector myPos = llGetLocalPos(); rotation myRot = llGetLocalRot(); vector rezPos = myPos+relativePosOffset*myRot; vector rezVel = relativeVel*myRot; rotation rezRot = relativeRot*myRot; llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), rezPos, rezVel, rezRot, startParam); }
-
somebody help me ,i want to In the collision llRezObject a object. i try it,but no llRezObject,i dont know why? collision_start(integer num_detected) { vector myPos = llGetLocalPos(); rotation myRot = llGetLocalRot(); vector rezPos = myPos+relativePosOffset*myRot; vector rezVel = relativeVel*myRot; rotation rezRot = relativeRot*myRot; llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), rezPos, rezVel, rezRot, startParam); } collision(integer num_detected) { vector myPos = llGetLocalPos(); rotation myRot = llGetLocalRot(); vector rezPos = myPos+relativePosOffset*myRot; vector rezVel = relativeVel*myRot; rotation rezRot = relativeRot*myRot; llRezObject(llGetInventoryName(INVENTORY_OBJECT, 0), rezPos, rezVel, rezRot, startParam); } These are not
-
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
thx a lot, i mean, i have a avatar ,i want to get the pos and rot use a script, after that ,i make my avatar change pos and rot ,now, i want to to get the new pos and rot~~I'm sorry, may be I express is wrong -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
I should have Different results ,but NOW Is the same result -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
but I get the same result -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
vector YuanShiPos;rotation YuanShiRot;vector NewPos;rotation NewRot;list temp;list temp2;default{changed (integer change) { if (change & CHANGED_LINK) { key av = llAvatarOnSitTarget(); if (av != NULL_KEY) { temp = llGetLinkPrimitiveParams(llGetNumberOfPrims(),[PRIM_POS_LOCAL,PRIM_ROT_LOCAL]); YuanShiPos = llList2Vector(temp,0); YuanShiRot = llList2Rot(temp,1); llOwnerSay((string)YuanShiPos+(string)YuanShiRot); } } } touch_start(integer total_number)//When I after rotation and position { temp2 = llGetLinkPrimitiveParams(llGetNumberOfPrims(),[PRIM_POS_LOCAL,PRIM_ROT_LOCAL]); NewPos = llList2Vector(temp2,0); NewRot = llList2Rot(temp2,1); llOwnerSay((string)NewPos+(string)NewRot);}} but I get the same result -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
<0.30000, 0.00000, 0.35010><0.00000, 0.00000, 0.00000, 1.00000> <0.30000, 0.00000, 0.35010><0.00000, 0.00000, 0.00000, 1.00000> avarar sit on the object , save the avatar position and rotation after chang the object position and rotation, i want to get the avatar's position and rotation -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
<0.30000, 0.00000, 0.35010><0.00000, 0.00000, 0.00000, 1.00000> <0.30000, 0.00000, 0.35010><0.00000, 0.00000, 0.00000, 1.00000> avarar sit on the object , save the avatar position and rotation after chang the object position and rotation, i want to get the avatar's position and rotation -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
Hi~Rolig, when the avatar sits down, save its local position and rotation and reassign those to the dummy sit target. you mean is save the object position ? or avatar position ? iknow how to save the object position and rotation, but i don't know how to save the avatar position and rotation. -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
character to stand up, click again on the OBJECT, character will be in accordance with the previous change, change myself -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
I want to achieve the effect of is, an OBJECT, sit avatars, rotating OBJECT, transform the OBJECT position, document transformation results to the AVATAR -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
It's A little bit of a problem vector LastPos; rotation LastRot; vector NowPos; rotation NowRot; LastPos = llGetLinkPrimitiveParams(llGetNumberOfPrims(),[PRIM_POS_LOCA]); LastRot = llGetLinkPrimitiveParams(llGetNumberOfPrims(),[PRIM_ROT_LOCA]); I want to know now before coordinates and the coordinates of the poor X=NowPos-LastPos? Y=NowRot-LastRot? -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
avatar have no script, the script only in object, -
How can i get the avatar position or rot?
Wang Novelli replied to Wang Novelli's topic in LSL Scripting
THX, Rolig ,I try it~~ -
A script in Object, Now ,the avatar sit on it, how can i get the avatar position and rot?
-
OK ~ iUSE llDeleteSubList and llListFindList to complete~~ THX
-
How do I delete one of the information?How to match?
-
thx, i use my methods successfull,because i am lag~~~so, Often wrong, still appreciate you
-
i try it like this AScript: llRegionSay(-12345,animation_name); llRegionSay(-12345,(string)llGetPos()); llRegionSay(-12345,(string)llGetRot()); BScript: List MyList; listen(integer channel, string name, key id, string message) { MyList = MyList+[message]; } Data can be sent in the past, but the result format is wrong
-
i read LlRegionSay,but i don't know how received the reasult in other object 's script?