当前位置:网站首页>Unity小知识
Unity小知识
2022-04-21 21:25:00 【澜.阿斯特.古莱齐.鲲】
1.父子关系
在unity里各物体之间可能存在某种关系,有或者没有,我这里介绍父子关系,提到父子关系,就要讲到父子级,父就是主物体,子物体就是副物体。换成我们好理解的话,一个是父亲,一个是儿子。
建立父子关系的好处
1.子物体会随着父物体一起移动,这样不用自己选中多个物体一起移动。
2.将 子 物体移动父物体下,更好方便管理,提高效率
缺点:.
1.父物体删除了,子物体也会一并删除。
2.父物体的部分代码会影响子物体,有时候会发生冲突,出现问题。
Global与Local
1 .Global ,即世界坐标系 -以世界中心为轴
-6个方向代表:上下 东西 南北
2. Local ,即本地坐标系 - 以物体自身为轴
-6个方向代表:上下 前后 左右
各轴的称呼
y轴称为 up,z轴称为forward,x轴称为 right
一般地,要求模型的正脸与Z轴方向一致
版权声明
本文为[澜.阿斯特.古莱齐.鲲]所创,转载请带上原文链接,感谢
https://blog.csdn.net/T17745768/article/details/124282050
边栏推荐
- [报错]Content-Length vs downloaded bytes
- [untitled] the test time is divided equally
- Construction of cloud computing platform based on openstack
- flutter插件第三方库,给Android程序员的一些面试建议
- 10 minute quick start RDS
- AI+大健康, 是超能机器人的正确打开方式?
- Program design TIANTI race l3-29 restore file (originally string hash optimized DFS)
- [SQL] sql32 sets the last of all employees in the employees table_ Name and first_ Name splicing
- MapReduce服务初体验
- [spark] (task5) fundamentals of sparkml (classification | clustering model)
猜你喜欢

读书破万“卷”:国民阅读洞察2022

迅为RK3568开发板交叉编译C程序

Qt QMenu简介

父子进程间通信(二)—— 匿名管道通信的四种情况

红日靶场--内网渗透练习

Initial experience of MapReduce service

Autres - - analyse de la cohérence en double écriture entre redis et MySQL

Smart face recognition 2 - keras uses retinaface + face to build a face recognition platform

Flutter plug-in third-party library, some interview suggestions for Android programmers

flutter插件化,来看看这份超全面的《Android面试题及解析》
随机推荐
Ubuntu安装MySQL8
Operation instructions for upgrading Tongda OA workflow
Install MySQL 8 for Ubuntu
Dynamically connecting data sources and transaction rollback
Program design TIANTI race l3-29 restore file (originally string hash optimized DFS)
微软 | 通过对比学习预训练的多语言分子表征学习
Talking about work -- Talking about data post
Others - zerorpc and simplexmlrpserver
Module 3 operation architecture design document
神经网络学习小记录56——Batch Normalization层的原理与作用
Sword finger offer 15 Number of 1 in binary
【sql】SQL22 统计各个部门的工资记录数
其它——Siege压力测试工具使用
The programming competition team of Taiyuan University of technology has a bumper harvest in 2022
红日靶场--内网渗透练习
Solve the problem that domestic mobile phones cannot register Google Gmail accounts
Anshui Cup 2021 Crypto Réapparition
Others - the ultimate design scheme of sub database and sub table
Shell编程学习(四)read读取、函数、文件归档、定时任务
Qianxin Winter Olympics "zero accident" terminal security sharing meeting: 6641 attacks were successfully solved