NotesUESTC/Unity3D笔记/Unity3D基本操作.md

33 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## Unity的基本操作
**一、场景的基本操作**
- 缩放:鼠标滚轮
- 旋转:鼠标箭头左键点击后拖动
- 拖动场景位置移动:鼠标滚轮按下
### **二、人物模型的控制**
**2.1 人物的结构和手动控制**
如下图所示一般来说3D人物模型的身体部分都是躯体的骨骼模型按照多叉树的结构组织的。对于每一部分的躯体部分都可以控制其平移、缩放、旋转等操作。
<img src="C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\image-20220916003925721.png" alt="image-20220916003925721" style="zoom:45%;" />
完整的人物呈现如下图所示(默认状态):
<img src="./Image/Model_Default.png" style="zoom:50%;" />
对象的旋转、平移、缩放操作,可以通过窗口进行控制:
<div align=center><img src="./Image/Unity3D-Model-Transform.png" alt="image-20220916005017611" style="zoom:50%;" /></div>
设置手臂的Y轴旋转角度为-90°可以看到
<div align=center><img src="./Image/Model_UpperArm-90.png" style="zoom:50%;" /></div>
**2.2 人物脚本控制**