unity3d官方汽车教程的翻译版本car2.pdf

unity3d官方汽车教程的翻译版本car2.pdf

  1. 1、本文档共20页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
unity3d官方汽车教程的翻译版本car2

“The Car Tutorial” Part 2 Creating a Racing Game for Unity 在Unity中创建赛车游戏 Part 2: Tweaking the Car 调整汽车 If you’ve followed along part 1 of this tutorial and assembled the car, you are already at a point where the car is pretty awesome. But if you have driven it around a bit, you will probably have noticed that there is after all room for some improvement. 如果你已经跟着教程的Part1部分学完并组装了汽车,那么在这个非常不错的汽车这里 你已经做好了准备,但如果你驾驶它已经开了一点,你将可能会注意到还有一些可以改 进的地方。 This is where tweaking enters the picture. In game development tweaking is a crucial part of making your game fun, challenging, awesome or whatever goal you have for your specific game. The idea is that when you have setup the nuts and bolts that makes your game run, there might be something that doesn’t feel quite right - maybe you want the car handling to be a bit different, maybe you want the top speed to be slightly different, or maybe you want to change the scene lights. 这是一个要调整进入的地方的图片,在游戏中,开发调整会使你的游戏更有趣,更具挑 战性,更棒或你想在游戏中实现任何目标的一个最关键部分。这个想法就是当你设置螺 栓和螺母使你的游戏能运行时,那里有一些东西你可能感觉不怎么正确-- 也许你想让 赛车的操控有一点不同,也许你希望的最高速度稍为有点不同,或者也许你只想改变场 景内的灯光。 A major strength of Unity is it’s tweakability - as you have seen, all the public variables in your scripts are shown in the inspector, so you can change values without going into the code. And even more powerful: When you’ve made a change you just hit play, and you will instantly see the result of that change. You never have to wait for the scene to be rebuilt or for a major recompile of the code. 一个Unity引擎的实力是它的可调整性--像你看到的那样,在你的脚本中所有的公共变 量在都显示在检查面板上,所以你能改变这些变量的值而不需要深入代码,并且更强大 的是:当你有了改变时你只需点击播放,你会立即看到这种变化的结果,你不用等待场 景被重构或等引擎重编译代码。 Center of Mass 质心 Now the most obvious thing that needs to be tweaked is probably that the car can very easily be flipped around when turning (if you haven’t tried yet, then play again and speed up a bit and then turn from side to side while speeding - the car will flip over pretty easily). The reason for this flipping is that we haven’t yet defined the car’s center of mas

文档评论(0)

l215322 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档