You are able to create geometry or use custom made assets and place them anywhere in the 3D world using the view port. When placing these objects they might need to be moved, rotated or even scaled.
W key = Move tool
In this tutorial lets look at how to create a box and move it to a certain position and rotate and scale it.
Translate
So first of all to create a box you can go to geometry tab in the modes panel and drag and drop a box to the view port. Once the box is placed in the 3D world it will show three arrows, if it doesn't show these arrows then press W to enable the move tool and get these arrows.
Each of these arrows represent an axis in which the object can be moved in, the green arrow represents the Y axis , the red arrow represents the X axis and the blue arrow represents the Z axis.
To move the object just simply hover over the arrow and when it turns yellow click and hold and move the mouse to move the object in that direction.
Rather than just moving along one axis the object can be moved in 2 axis by click on the little box connecting two arrows, for example if I need to move the box in the Y and Z axis then i would need to click the box connecting the Y ans Z axis.
So this applies to all moving, rotating and scaling.
Rotate
To rotate and object simply just select the object that needs to be rotated by clicking on it and then press E to get the rotate tool, the rotate tool too would allow the abject to be rotated in all X,Y and Z axis.
same as before, to rotate in one axis just hover over the quarter circle till it turns yellow and then click and move the mouse to rotate.
Currently rotations can only be done in one axis at a time.
Scale
To scale an object, it is again the same as translating or rotating it. It can be scaled in all X,Y and Z axis. to scale and object simply select it and press R and the scale tool should appear. once it's appeared you can hover over little box on each axis till it turn yellow and then click to select that axis and move the mouse to scale on that axis. Scaling can be done in two or all three axis at once. if selected form the middle box and scaled your object will be scaled uniformly in all axis.
That is all there is to Translating, Rotating and Scaling objects.
Now that we know how to move objects around on 3D space, from the next tutorial we will look at how to build simple game that allows the player to navigate through a maze to find the exit.
In unreal engine we have hotkeys to change from one of these tools to the other,
W key = Move tool
E key = Rotate tool
R key = Scale tool
In this tutorial lets look at how to create a box and move it to a certain position and rotate and scale it.
Translate
So first of all to create a box you can go to geometry tab in the modes panel and drag and drop a box to the view port. Once the box is placed in the 3D world it will show three arrows, if it doesn't show these arrows then press W to enable the move tool and get these arrows.
Each of these arrows represent an axis in which the object can be moved in, the green arrow represents the Y axis , the red arrow represents the X axis and the blue arrow represents the Z axis.
To move the object just simply hover over the arrow and when it turns yellow click and hold and move the mouse to move the object in that direction.
Rather than just moving along one axis the object can be moved in 2 axis by click on the little box connecting two arrows, for example if I need to move the box in the Y and Z axis then i would need to click the box connecting the Y ans Z axis.
So this applies to all moving, rotating and scaling.
Rotate
To rotate and object simply just select the object that needs to be rotated by clicking on it and then press E to get the rotate tool, the rotate tool too would allow the abject to be rotated in all X,Y and Z axis.
same as before, to rotate in one axis just hover over the quarter circle till it turns yellow and then click and move the mouse to rotate.
Currently rotations can only be done in one axis at a time.
Scale
To scale an object, it is again the same as translating or rotating it. It can be scaled in all X,Y and Z axis. to scale and object simply select it and press R and the scale tool should appear. once it's appeared you can hover over little box on each axis till it turn yellow and then click to select that axis and move the mouse to scale on that axis. Scaling can be done in two or all three axis at once. if selected form the middle box and scaled your object will be scaled uniformly in all axis.
That is all there is to Translating, Rotating and Scaling objects.
Now that we know how to move objects around on 3D space, from the next tutorial we will look at how to build simple game that allows the player to navigate through a maze to find the exit.
Comments
Post a Comment