当前位置:网站首页>Unity项目心得总结
Unity项目心得总结
2022-07-01 05:16:00 【iiiiiiimp】
写在前面
个人兴趣+项目需要,学习一下Unity引擎,在此记录一下自己所作的小项目。
项目地址:https://github.com/hahahappyboy/MyUnityProjects
个人场景搭建

注意事项:
1、选中摄像头,按Ctrl+Shift+F可以将摄像头快速移动到Scene画面的位置。
2、一般如果要创建一个复合物体(父子物体),那么最好用一个空物体作为根物体,把这个复合物体设为空物体的子物体,这样的好处就是整个物体的中心点就是空物体的中心点,并且避免了子物体拉伸旋转时出现变形。
例如一个椅子就可以分为腿、椅背、椅垫。
3、墙的透明材质
4、选中物体按W变为移位模式再按V可以对其进行贴合。
行星绕恒星转动

注意事项:
1、球体后面的白色伪影
2、为了让行星围绕恒星(中间红色的球)转,用了Vector3.Cross叉乘求法向量,再用this.transform.RotateAround函数。
滚球游戏

写在后面
每个人的时间区间都不一样吧,不用太在意别人的眼光,趁着年轻还可以一无所有还可以重头再来时,多做自己想做的事情吧。

边栏推荐
- Global and Chinese market for kitchen range hoods 2022-2028: Research Report on technology, participants, trends, market size and share
- FileInputStream
- Global and Chinese markets of superconductor 2022-2028: Research Report on technology, participants, trends, market size and share
- Use of STM32 expansion board temperature sensor and temperature humidity sensor
- eBPF Cilium实战(2) - 底层网络可观测性
- 轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
- Series of improving enterprise product delivery efficiency (1) -- one click installation and upgrade of enterprise applications
- 第05天-文件操作函数
- Unity drags and modifies scene camera parameters under the editor
- Sqlplus connects using the instance name
猜你喜欢

el-cascader回显失败;el-cascader回显不出来
![[RootersCTF2019]babyWeb](/img/b4/aa8f8e107a9dacbace72d4717b1834.png)
[RootersCTF2019]babyWeb

Copy baby prompt: material cannot be empty. How to solve it?

Using nocalhost to develop microservice application on rainbow

轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷

Usage and principle of synchronized

LeetCode316-去除重复字母-栈-贪心-字符串

导电滑环短路的原因以及应对措施

Mathematical knowledge: finding the number of divisors

LevelDB源码分析之LRU Cache
随机推荐
如何开始学剪辑?零基础详细解析
Detailed explanation of distributed global unique ID solution
Character input stream and character output stream
复制宝贝提示材质不能为空,如何解决?
El cascade echo failed; El cascader does not echo
Data loading and preprocessing
工业导电滑环的应用
Simple read / write verification of qdatastream
Global and Chinese market of protection circuit modules 2022-2028: Research Report on technology, participants, trends, market size and share
Leetcode522- longest special sequence ii- hash table - String - double pointer
Data consistency between redis and database
Distributed transactions - Solutions
Application and principle of ThreadPoolExecutor thread pool
LeetCode522-最长特殊序列II-哈希表-字符串-双指针
Sqlplus connects using the instance name
複制寶貝提示材質不能為空,如何解决?
轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
How to traverse massive data in redis
Buffer stream and transform stream
使用 Nocalhost 开发 Rainbond 上的微服务应用