UnrealEngine 教學

影片教學

安裝 Plugin

從 Unreal Engine Marketplace 安裝 plugin
https://www.unrealengine.com/marketplace/ja/product/facemotion3d-plugin

教學

1. 匯入想要驅動的 FBX 檔案。
以下提供範例 avatar,請以範例 avatar 為參考建立 52 個 morph。
https://drive.google.com/drive/folders/1iX1_4exoGlk0ReSYc2QZL9C0NBo-P9Nf?usp=share_link

2. 在 content browser 中按右鍵,選擇 Animation→Animation BP。
選取剛載入的 FBX 檔案 skeleton。

3. 對建立的 Animation BP 按兩下。

4. 在 Animation BP 中按右鍵,搜尋 "FACEMOTION3D"。

5. 將 FACEMOTION3D plug-in 連接到 output pose。

6. 在 FACEMOTION3D plug-in 中開啟 Settings→Send Settings,並將 "Is Send Message" 設為 ON。
在 "Send IPAddress" 欄位輸入 iPhone 的 IP address,並按下 "Send Start Message" 按鈕。

7. 接著 iPhone App 與 UnrealEngine 就會連線。

8. 要移動的 bone 名稱可以在 iOS App 中設定。
前往 Settings -> Streaming Settings,並開啟 UnrealEngine 分頁。
輸入想要移動的 bone 名稱。

9. 如果想忽略 iOS App 的 bone 名稱設定,並在 UnrealEngine 端指定 bone 名稱,請在 FACEMOTION3D plug-in 中開啟 Settings→Use UE4Bone Name。
如此一來,bones 會依照 UnrealEngine 的 HumanoidRig 中指定的 bones 運作。