- Unity 3.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 159字
- 2021-04-02 18:34:08
Understanding the gravity of the situation
Unity's built-in physics engine is ready for you to hook into it, but it will ignore your Game Objects unless you opt in by adding a component like Rigidbody to your Game Object. Rigidbody is so-named to differentiate it from soft body dynamics, which are calculations that actually distort and deform your meshes. Soft bodies like cloth are partially supported in Unity 3, after numerous developers requested the feature. You can view and vote on upcoming Unity features here:
Rigidbody dynamics treat all of our objects as if they're made of wood, steel, or very stale cake. Collider components tell Unity when Game Objects crash into each other. As both our Ball and our Paddle already have sphere and cube-shaped colliders surrounding their meshes, the missing link is the Rigidbody component. By adding a Rigidbody component to the Ball, we include the Ball in Unity's physics calculations. The result is hot ball-on-paddle action.
- PostgreSQL for Data Architects
- C++面向對象程序設計(微課版)
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第3版)
- Visual C++應用開發
- INSTANT Django 1.5 Application Development Starter
- Mastering Apache Storm
- 零基礎輕松學C++:青少年趣味編程(全彩版)
- Application Development with Parse using iOS SDK
- 現代C++語言核心特性解析
- 零基礎學Java(第5版)
- INSTANT PLC Programming with RSLogix 5000
- Processing開發實戰
- Python自動化運維:技術與最佳實踐
- Learning Unity Physics
- Web前端開發實戰教程(HTML5+CSS3+JavaScript)(微課版)