15
 
  Positioning objects - accurate positioning
 

Positioning objects

We are in a 3d environment , using 3d objects. When you right-click to select an object , you will not only see yellow help lines to determine the size of the object, but you will also see 3 axis lines : a red line for the X-axis, a green line for the Y-axis and a blue line for the Z-axis.

You will also see these axises in the object properties under the name "Location", the numbers in this window indicate the position of the object in relation to the central point of the world indicated in meters. In this example, the object is located 536 meters in the east(=53E), 30 meters in the south (3S), and 0.25 meter below level 0 ( Level 0 is in this example not the same as the ground level, the ground level can be modified in the world settings).

This position indication is equal to your avatar position location: When you type F10 you will also see the green cell grid lines; and when you look at your avatar position (CTRL+F11), then you will see that the object is also positioned at 53E 3S. (see lesson 13. World sizes - Cell grid)

Move the position of an object

Put your avatar in front of the object and just right-click to select the object . Be sure that you have selected the object, otherwise your avatar will move, and not the object. Now, use the following keys to move the object :

key the object will move :  
arrow up backwards (further) Z axis
arrow down forward (closer) Z axis
arrow left to to left X axis
arrow right to the right X axis
+ (plus) up Y axis
- (minus) down Y axis

Note : If you avatar is not in front of your object, but rather in an angle or beside the object, then the object will go left/right instead of backwards/forward.

 

* We look at the distance of each move. We press now the left arrow key and the object will move a bit to the left, and in the object properties, we see that the location of the X position has changed from -536.3 to -535.8 which is a difference of 0.5 meters. Now press F10 to see the cell grid : If we press 20 times on the arrow left key, then the object is moved exactly 1 cell to the left. ( 0.5meters x 20 = 10 meters = distance of 1 cell ).

* You can also move the position of an object by changing the values in the object properties window. ( X Y Z) . These values are the distances of the object toward the ground zero postion (0N 0W). Be careful with it , because if you press 0 instead of 535.3 , then the object will move immediately 53 cells to the west.

* Another way of moving an object is clicking upon the icons on the upper line of this object properties window.

Rotate the position of an object

Put your avatar in front of the object and just right-click to select the object . Be sure that you have selected the object, otherwise your avatar will move, and not the object. Now, use the following keys to move the object :

key the object will rotate :  
page up horizontal left Y axis
page down horizontal right Y axis
home vertical left Z axis
end vertical right Z axis
/ (slash) vertical up X axis
* (asterisk) vertical down X axis

* We look at the distance of each rotation : We press now the page down- key and the object will rotate to the bit to the left (the closest part) , and in the object properties, we see that the location of the Y position has changed from 0 to -15 . The rotation is indicated in degrees.

* If you press 6 times a rotation key, then the object will be rotated by 90 degrees. If you press 24 times the rotation key, the object will be rotated 360 degrees and will be again in its original position.

* Another way of rotating an object is clicking upon the icons on the upper line of this object properties window.

Accurate moves and rotations :

If you want to move or rotate an object at a smaller distance, then first select the object and then press also the SHIFT key , and at a very small distance ,then press also the CRTL-key. Attention !! If you don't select the object first, you are making a "multiple object selection" instead of making an "accurate move or accurate rotation".

Accurate moves :

move key only ( arrow keys or + or - ) moves an object 50cm
move key + SHIFT moves an object 5 cm
move key + SHIFT + CTRL moves an object 1 cm

Accurate rotations :

rotation key (pgup pgdn home end / * ) rotates an object by 15 percent
rotation key + SHIFT rotates an object by 5 percent
rotation key + SHIFT + CTRL rotates an object by 1 percent
 

Read also : SWCity builders academy : movement references

http://www.swcity.net/academy/index.php?n=Main.MovementReferences