官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 土默特右旗| 镇原县| 天气| 彰化市| 武山县| 沈丘县| 松潘县| 体育| 宝山区| 高青县| 商河县| 三台县| 吐鲁番市| 睢宁县| 颍上县| 香港 | 芜湖市| 威宁| 新干县| 长泰县| 濉溪县| 垣曲县| 阿拉善盟| 乐亭县| 浪卡子县| 托克托县| 宾川县| 邹城市| 绥中县| 曲松县| 雷州市| 永新县| 玛曲县| 增城市| SHOW| 南平市| 江安县| 海林市| 洛宁县| 枞阳县| 大竹县|