速看:MOHO Tutorial 3.9: Isolating Bones from Parenting (Pro Only)
When you assign a parent to a bone, Moho takes a snapshot of the parenting ?at that state. You can animate a bone that is on top of the parented bone (with ?independent angles, for example). But you typically don’t want to animate the ?bone that does the parenting because it has a snapshot taken of it and animation ?changes to the parent can cause unexpected changes in in the animation.?
If you’re animating bones by hand, you should avoid animating the bone that ?another bone is parented to. Instead, use small bones to isolate the animation as ?shown in this example.
當(dāng)您將父級分配給骨骼時(shí),Moho 會在該狀態(tài)下拍攝父級的快照。 您可以為父骨骼頂部的骨骼設(shè)置動畫(例如,具有獨(dú)立的角度)。 但是您通常不希望對進(jìn)行父項(xiàng)設(shè)置的骨骼進(jìn)行動畫處理,因?yàn)樗鼘λM(jìn)行了快照,并且對父項(xiàng)的動畫更改可能會導(dǎo)致動畫中的意外更改。
(資料圖片僅供參考)
如果您手動為骨骼設(shè)置動畫,則應(yīng)避免為另一個(gè)骨骼作為父級的骨骼設(shè)置動畫。 相反,使用小骨骼來隔離動畫,如本例所示。
要學(xué)習(xí)本教程,您可以從教程 3.8 中的中斷點(diǎn)繼續(xù),或者從 User Content 文件夾中的 Tutorial 3.8 Finished.moho 項(xiàng)目開始。
1. 從您在上一課中完成的項(xiàng)目開始,或打開位于您的用戶內(nèi)容文件夾中的 Tutorial 3.8 Finished.moho。
2. 選擇圖層 3 作為當(dāng)前圖層,隱藏工程中的其他圖層。
3. Scrub through the timeline. You’ll notice at frame 24 that the two outer arms ?reach down to the shorter arms in the middle. Then they move up again at ?Frame 36.
4. The two bone chains in the middle are already set up with bone dynamics, ?which are used in this tutorial in place of manual animation. The inner bone ?chains bounce in a springy manner. The inner left and right bone chains are ?identical except that the bone chain on the inner right has a small bone at the ?bottom. This bone will be used for parenting of the inner right bone chain so that ?you can understand the advantages of isolating bones in parenting.
3. 梳理時(shí)間線。 您會在第 24 幀注意到,兩個(gè)外臂向下延伸到中間較短的臂。 然后它們在第 36 幀再次向上移動。
4. 中間的兩條骨骼鏈已經(jīng)設(shè)置了骨骼動力學(xué),在本教程中用于代替手動動畫。 內(nèi)部骨鏈以彈性方式彈跳。 內(nèi)部左右骨鏈?zhǔn)窍嗤模皇莾?nèi)部右側(cè)的骨鏈底部有一個(gè)小骨頭。 這塊骨頭將用于內(nèi)部右骨鏈的育兒,以便您了解隔離骨骼在育兒中的優(yōu)勢。
5. Move to frame 24. Click the bottom bone in the middle left chain with the ?Select Bone tool. ?
6. Now switch to the Reparent Bone tool, and click the the top bone in the bone ?chain at the farthest left. In this bone chain, the bone dynamics will simulate ?what will happen when you try to animate bones that have a parent assigned.
5. 移動到第 24 幀。使用選擇骨骼工具單擊左中間鏈中的底部骨骼。
6. 現(xiàn)在切換到 Reparent Bone 工具,并單擊最左側(cè)骨骼鏈中的頂部骨骼。 在這個(gè)骨骼鏈中,骨骼動力學(xué)將模擬當(dāng)您嘗試為分配了父級的骨骼設(shè)置動畫時(shí)會發(fā)生什么。
. 內(nèi)部左鏈中的下部骨骼是最左側(cè)鏈中頂部骨骼的父級。
7. Now we’ll work with the set of bones at the right, which have the extra ?small bone that we will use for parenting. This small bone will help isolate the ?animation of the bone chain from the parenting. While still at Frame 24, select ?the small bone with the Select Bone tool.
8. Next, switch to the Reparent Bone tool and click the top bone in the bone ?chain at the farthest right.
7. 現(xiàn)在我們將使用右側(cè)的一組骨骼,其中包含我們將用于育兒的額外小骨骼。 這個(gè)小骨頭將有助于將骨骼鏈的動畫與育兒隔離開來。 在第 24 幀時(shí),使用“選擇骨骼”工具選擇小骨骼。
8. 接下來,切換到 Reparent Bone 工具并單擊最右側(cè)骨骼鏈中的頂部骨骼。
. 內(nèi)部右鏈中的小骨骼是最右鏈中頂部骨骼的父級。
Play the animation back. You’ll notice that when the animation reaches Frame ?24, where the reparenting took place, there is a sudden change in the angle ?of the bone that was reparented in the chain on the left side. This is due to the ?mathematics in the physics because it’s getting a sudden surge of springy action. ?You don’t see this effect on the chain on the right side because it is isolated by the ?small bone that was assigned as the parent. In this case, the small bone gets a the ?sudden change in angle, but it isolates that change from the bones in the inner right ?bone chain.
播放動畫。 您會注意到,當(dāng)動畫到達(dá)第 24 幀時(shí),即發(fā)生重新父代的位置,左側(cè)鏈中重新設(shè)置父代的骨骼的角度突然發(fā)生了變化。 這是由于物理學(xué)中的數(shù)學(xué),因?yàn)樗蝗怀霈F(xiàn)了彈性動作。 您在右側(cè)的鏈上看不到這種效果,因?yàn)樗恢付楦讣壍男」趋栏綦x。 在這種情況下,小骨頭的角度會發(fā)生突然變化,但它會將這種變化與右側(cè)骨鏈中的骨頭隔離開來。