How to Use a Vector on "Second Life"
"Second Life" is an online simulation game for the PC that gives complete controls to the player. If you have the technical knowledge and expertise, you can create your own objects and import them into the game, which can then be sold for actual money. One import command you will need to use when placing the object in "Second Life" is a vector. A vector can be used to change the way an object is displayed, such as rotating the object.
Instructions
-
-
1
Right-click the object you want to use a vector with on "Second Life." A list of options will expand, similar to if you clicked an item from the desktop.
-
2
Click "Edit" from the list of options. The Build Toolbox window will appear.
-
-
3
Click "New Script" to receive a blank piece of code. This is where you can enter the coding to perform a vector.
-
4
Declare the object you want to perform a vector command with by typing "vector id;" and replace "id" with the name of the object you want to place.
-
5
Type the coordinates of the location you want to place the object:
float x = #;
float y = #;
float z = #;Replace the "#" with the number of the actual coordinates.
-
6
Type the command of the action you want to perform, such as a rotation command, directly underneath the coordinates. This will place the object in the specified location, then perform the action you commanded when you save the file.
-
1