Beowulf Zessinthal

  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About Beowulf Zessinthal

  • Rank
    Advanced Member
  1. LSL vs C# simple examples

    Kelly .. i only just got to absorb this now ... Thanks so much for posting each of the three variations .. and i see the sense of the 'methods' involved .. i really enjoyed it!
  2. LSL vs C# simple examples

    Thats true Madelaine .. but as i cannot get in yet i am getting better acquainted with the things i will need to know. So later i will have less frustration^^ C# seems very doable after LSL .. so far only 1.5 days spent, but already im optimistic^^ Over the next few days i will watch a few youtube tutorials too. Bring it on baby!
  3. LSL vs C# simple examples

    am currently doing seems very well presented^^
  4. LSL vs C# simple examples

    Everyone .. please feel free to add in simple comparative examples if you think they can demonstrate some specific thing you are interested in showing about C#!
  5. LSL vs C# simple examples

    awesome thanks so much! .. i dont quite understand the detail of it yet of course but i will look at it really hard tomorrow and soak up 'how it looks' as a first step! That will be a big and exciting time for me! thanks again Rachel!
  6. LSL vs C# simple examples

    When i first learnt to script (in LSL), i thought i had fallen into heaven So logical, so powerful .. ahh.. but soon in Sansar the scripting language will be C#. Im excited for the chance to see some comparative LSL vs C# examples. I will post a basic LSL script here.. would someone show me a reasonable C# version? Then maybe folk who already know both can post a few other examples? Title what the script does: LSL: Switch alpha values of object using a timer float alpha; default { state_entry(){ alpha= 1.0; llSetAlpha(alpha, ALL_SIDES); llSetTimerEvent(2); } timer(){ if(alpha == 1.0){ alpha= 0.4; } else{ alpha= 1.0; } llSetAlpha(alpha, ALL_SIDES); } }
  7. Mono scripts .. actually whats the deal?

    now the rain has gone, i can see clearly .. Thanks Innula ..
  8. Mono scripts .. actually whats the deal?

    There are no recent clear threads on the mono script. I thought i knew them, but i just got suprised and so i was hoping someone might give a clear description of their nature. My (wrong) belief was that all non-reset copies are shortcut to the single server version.... I have made a hud with a customizeable dialog (using .. type new button name in -1 chan, script listens for it and replaces the old button name). So i thought that if i made a copy of that hud, wore it & made a different custom menu in it .. and then un-wore it and wore the original hud, that the new menu would also appear there... but no .. it shows the earlier original menu. So while i thought i knew so much .. now i think i know so little! Whats up with those mono scripts!? :D
  9. I sit grinning .. i had found .. Brot= (ZERO_ROTATION/Arot)*Crot; a half hour ago .. and just now also managed to derive // Apos + (Bpos*Arot) = Cpos // Cpos - Apos = (Bpos*Arot) so (Cpos - Apos)/Arot = Bpos (same as yours:) but your Brot is simpler so you still win! .. Sending prize now !
  10. .. its Sunday! .. rotational algebra anyone? I spent yesterday melting my brain with tests and 2D paper grids, and today i thought i would just try and buy the answer! 5000L to whoever first ims me the answer to this problem .. i will announce the winner here when its done Thanks for any efforts! //Join 2 prims and add this to root prim vector Apos= <0.142, 0.0, 0.471>;//Aposrot (to be Frame of Reference) rotation Arot= <0.0, -0.195, 0.0, 0.981>; vector Bpos= <0.4, 0.0, 0.1>; rotation Brot= <0.0, -0.469, 0.0, 0.883>; vector Cpos; rotation Crot; default { state_entry(){ llSetLinkPrimitiveParams(2, [PRIM_POS_LOCAL, Apos, PRIM_ROT_LOCAL, Arot]); llSetLinkPrimitiveParams(2, [PRIM_TEXT, "Aposrot.\n(now add 'unknown' Bposrot)",<1,1,1>, 1]); llSleep(4); //Aposrot + Bposrot (in Aposrot Frame of Reference) llSetLinkPrimitiveParams(2, [PRIM_POS_LOCAL, Apos+ Bpos*Arot, PRIM_ROT_LOCAL, Brot*Arot]); llSetLinkPrimitiveParams(2, [PRIM_TEXT, "Cposrot.",<1,1,1>, 1]); Cpos= (vector) llList2String( llGetLinkPrimitiveParams(2, [PRIM_POS_LOCAL]) , 0); Crot= (rotation) llList2String( llGetLinkPrimitiveParams(2, [PRIM_ROT_LOCAL]) , 0); llOwnerSay("_________\nAposrot= "+(string)Apos + (string)Arot); llOwnerSay("Cposrot= "+(string)Cpos + (string)Crot); llSleep(4); llOwnerSay("Aposrot + Bposrot = Cposrot / Solve for Bposrot (also from Aposrot Frame of Reference)"); llSleep(4); llOwnerSay("Answer should be ~:\nBposrot= <0.4, 0.0, 0.1><0.0, -0.469, 0.0, 0.883>"); llSetLinkPrimitiveParams(2, [PRIM_POS_LOCAL, Apos, PRIM_ROT_LOCAL, Arot]); llSetLinkPrimitiveParams(2, [PRIM_TEXT, "Aposrot.\n(now add 'unknown' Bposrot)",<1,1,1>, 1]); } }
  11. Rez box + touch to attach + unwear = box goes to Library :(

    oh wow.. ty for point it out^^
  12. Rez box + touch to attach + unwear = box goes to Library :(

    Yes it goes to my Objects folder when its worn .. but when i detach it .. then it jumps to the Library part of my inventory. (i will edit my original post to make that clearer) .. and i use the normal SL viewer (always the most current) ..hmm.. so it might just be me somehow..
  13. this has been going on for a while now, and is stiil not fixed... Is it only happening to me?! Rez a box, add the script below which will attach the box to you upon touch.. it appears in your Objects folder. BUT .. when you UNWEAR the box, it glitches/jumps into my Library folder .. that aint right! key owner; default { state_entry(){ owner= llGetOwner(); llOwnerSay("Click to attach .. then unwear .."); } touch_start(integer total_number){ if(llDetectedKey(0) == owner){ llRequestPermissions(owner,PERMISSION_TRIGGER_ANIMATION | PERMISSION_ATTACH); } } run_time_permissions(integer perm){ if(perm & PERMISSION_ATTACH){ llAttachToAvatar(ATTACH_AVATAR_CENTER); } } }
  14. Reverse engineering a pos-rot correctly

    You have it! Thanks! .. you and your ilk are amazing to have around. I know partially some of the things you described, but trying to keep it in my head and derive the correct permutation of the formula was too much for me! OK .. thanks so much Qie Dirac (!) .. the inverse calc is correct, now i will see if it can sort out my problem (!)
  15. rotate and position a link movement relative to itself

    i am trying a new method .. this rabbit hole went too deep!