赞
踩
导入官方标准资源包Standard Assets,使用其中的Car Controller和Car User Control脚本。
注意:黄色框内即为需要拖拽入Car Control组件中的,必须要保证他们的local的轴向和位置一致。
下面inspector设置的值仅供参考
两个脚本中的修改:
CarControl:
CarCarUserControl
CarUserControl:
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。