For this week’s tasks I need to move a physical and non physical object in second life. The script I wrote moves a physical object to the second closest player near it. The script will not work if there is only one player in the area. The main reason I did this was because I wanted to test out moving an object to another object instead of to me.
llDetectedPod() = Get the position of a object/player
LlMoveToTarget() = moves the object to the selected location at a speed of my choosing.
llDetectedPod() = Get the position of a object/player
LlMoveToTarget() = moves the object to the selected location at a speed of my choosing.
The second script moves a non-physical object., but the difference with this one is that it does not move over time. But instantly jumps to the position. When this script had been touched it will jump to four different locations over the course of 8 seconds.
llGetPos = Gets the current position of the object.
llSetPos = Set the position of the object instantly.
llGetPos = Gets the current position of the object.
llSetPos = Set the position of the object instantly.
No comments:
Post a Comment