Jump to content

Roadmap Writer

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Roadmap Writer

  • Rank
    Advanced Member
  1. Thank you Rolig, thank you Dora, Thanks for the position/rotation solution. It works like a charm now. And thanks for llSetRegionPos reply. Both dragged me upwards along the learning curve of LSL ;-) Road
  2. It's the WarpPos procedure as shown in http://lslwiki.net/lslwiki/wakka.php?wakka=LibraryWarpPos Isnt that needed anymore to overcome the 10m limit of llSetPos()? Road NEW: or maybe a better solution is: llSetRegionPos(newPos);llSetPos(newPos); ?
  3. No, i do not rez with llRez*... I just rez an object, reads the relative pos & rot from the description, and after sensing the marker it moves to the desired position & rotation. Complete code below ;-) string HOUSE_OLD = "MarkerOldSpot";string HOUSE_NEW = "MarkerNewSpot";vector myPos;rotation myRot;vector newPos;rotation newRot;string marker;vector markerPos;rotation markerRot;vector relPos;rotation relRot;default { on_rez(integer parm) { llResetScript(); } state_entry() { marker = HOUSE_OLD; llSensor(marker, NULL_KEY, ACTIVE|PASSIVE, 96, PI); } sensor(integ
  4. The multiplication gives a compile error... vector newPosition = marker2Position + (marker2Rotation * relativePosition); Think your first version is better ;-) Tested with some objects, most do well, but more complicated objects fail with their rotation... will experiment a little with local and root rotations, perhaps that's my treshold as well Road
  5. Thank you, Dora! I will test it later today Road.
  6. I need some help with the following. I have an object at a certain position and rotation. Nearby is a marker-object. Some further away I have another marker that has a different position and rotation as the first marker. Now i like to move the object to this second marker with the same relative position and rotation as it had in relation to the first marker. I am really stuck at the SL-math needed. Any help would be wonderful. Thanks in advance! Roadmap Writer.
  7. Apparently I thought way too difficult. Thanks for the solution, Dora, it works exactly as i was looking for!
  8. I need some help with the so nasty orientation/rotation math of LSL :-) The context is that i like to rez tiles aligning to a "master"-tile. The problem however is that i dont get it done. The master tile has a scale of <0.5, 0.5, 0.1>. When I touch one of the low-height-sides, I can detect the normal vector of that side with llDetectedTouchNormal(0). At the moment of the touch, i like to have a new tile rezzed of the same scale, but perfectly aligned (glued, without linking) to the touched side of the master tile. As long as I dont use any rotation around the x- or y-axis i m
  9. Thank you very much. I indeed used ll GiveInventoryList. Will change it back to llGiveInventory(). All of your help is so much appreciated.
  10. Thanks so far... I want to make it for the receiving avatar as simple as it can be. Is there a solution to make a "pigeon" which flies to the sim of the avatar and give it then?
  11. For a charity project i want to script an object giver. But llGiveInventory only works within a sim. Is there a way to give objects gridwide to a selected avatar?
  12. Just tried it. I wasnt ruthed myself, but saw everybody around me as grey. Sat on such a chair, and within a second all avatars around me werent grey anymore. Amazing to discover to be honest.
  13. I have used the following to let certain letters appear on a box. It has one texture with all letters on it divided in rows and columns. Perhaps you can use the same principle for your colored rectangle make a texture with your somewhere in the middle. Suppose you have one texture with the letters of the alphabet on it, divided in seven rows of four letters. Like this: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z , . When you want to show just one letter of the alphabet onto the sides of a prim, you will have to do some math to calculate the offsets you need. The function i like
  14. Thank you all for your great help! Very much appreciated.
  15. Thanks for your directions. The first one also popped up into my mind. But, are, let's say the first 4 or 6 hex digits, enough to discriminate it from others? Or the last ones?
  • Create New...