Common operations on game objects in Unity, Rotating, Moving, Scaling

LZ-Says: May the time remain, and the future is beautiful~

write picture description here


foreword

In this section, let's take a look at the basic operations such as rotation, movement and scaling of game objects in Unity.

write picture description here

basic prank

The whole process can be completed by simply manipulating the mouse. Of course, the direct and effective method is to directly set the value~

The mouse control completes the basic show operation

First, let's take a look at what the attribute values ​​on the right represent:

write picture description here

From top to bottom, they correspond to position, rotation, and scale, respectively.

So let's demonstrate it to you through the demo picture:

write picture description here

Manually set the value to complete the basic operation

After playing with the mouse, let's play to manually set the value~

write picture description here

end

Okay, at this point, we got another new skill, not happy~

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324822601&siteId=291194637