- Creating ELearning Games with Unity
- David Horachek
- 109字
- 2021-07-16 12:22:50
Building character representation
With these requirements in mind, let's build the framework:
- From GameObject | CreateOther, select Capsule, and place it at (
0
,2.5
,0
), as shown in the following screenshot: - Name the capsule
Player
in the Inspector pane. - Create a cube in a similar fashion, and parent it to the capsule by dragging it onto the hero. Scale it to (
0.5
,0.5
,2
), and set its local position to (0
,1.5
,0.5
). - Name the cube object
Hat
.
Congratulations! You now have a representation of our hero in the game. The Hat
object will serve as a visual cue for us in this chapter as we refine the controls and camera code.
推薦閱讀
- 繪制進程圖:可視化D++語言(第1冊)
- Visualforce Development Cookbook(Second Edition)
- 大數據專業(yè)英語
- Windows XP中文版應用基礎
- 大數據安全與隱私保護
- 3D Printing for Architects with MakerBot
- Docker High Performance(Second Edition)
- JavaScript典型應用與最佳實踐
- 新編計算機組裝與維修
- ESP8266 Robotics Projects
- INSTANT Puppet 3 Starter
- ZigBee無線通信技術應用開發(fā)
- 設計模式
- RealFlow流體制作經典實例解析
- PostgreSQL 10 High Performance