Skip to content

How to use

gpsnmeajp edited this page Oct 21, 2019 · 19 revisions

基本的な使い方

「動かない」と言う前に、まずこちらの手順で試してみてください。
それでも思うように動かないときは、よくある質問をご確認ください。

ExternalReceiverPackを使う場合(かんたん)

動画: https://youtu.be/L5dkdnk5c9A

  1. Unityを準備する
  2. ExternalReceiverPackをダウンロードして新しい3Dプロジェクトに入れる
    最新版
    安定版
  3. 読み込みたいVRMファイル入れて、ExternalReceiverSceneを開いて配置する(あるいはExternalReceiverプレハブを配置する)
  4. Scene ViewでExternalReceiverに、読み込んだVRMのGameObjectを「Model」に割り当てる
  5. 再生して実行開始(VirtualMotionCaptureを起動してOSC送信開始状態にしてください)

UnityPackage内には以下を同梱しています。

一から準備する場合

  1. Unityを準備する
  2. ExternalReceiver.csをダウンロードして、動かしたいプロジェクトに入れる
  3. UniVRMをダウンロードして、動かしたいプロジェクトに入れる
    https://github.com/vrm-c/UniVRM/releases
  4. uOSCをダウンロードして、動かしたいプロジェクトに入れる
    https://github.com/hecomi/uOSC/releases
  5. 読み込みたいVRMファイル入れて、Sceneに配置する
  6. Scene ViewでCreate Empty
  7. Inspectorで、ExternalReceiver.csと、uOSC Serverを割り当てる
  8. ExternalReceiverに、読み込んだVRMのGameObjectを「Model」に割り当てる
  9. uOSC ServerのPortをVirtualMotionCaptureに合わせる(デフォルト: 39539)
  10. 再生して実行開始(VirtualMotionCaptureを起動して送信開始状態にしてください)

How to use

ExternalReceiverPack (Easy)

  1. Open Unity project.
  2. Download ExternalReceiverPack and install.
    Latest
    Stable
  3. Drag&Drop your VRM file, and Open "ExternalReceiverScene", Place VRM Model.
    (or put "ExternalReceiver" prefab on your scene)
  4. put VRM Model game object on ExternalReceiver's "Model" in Scene View.
  5. Let's Play. (And turn on VirtualMotionCaputres OSC Function)

Manualy Setup

  1. Open Unity project.
  2. Download "ExternalReceiver.cs" and put in.
  3. Download "UniVRM" and put in. https://github.com/vrm-c/UniVRM/releases
  4. Download "uOSC" and put in. https://github.com/hecomi/uOSC/releases
  5. Drag&Drop your VRM file, and Place VRM Model.
  6. "Create Empty" in Scene View.
  7. Attach "ExternalReceiver.cs" and "uOSC Server"
  8. put VRM Model game object on ExternalReceiver's "Model" in Scene View.
  9. Set uOSC Server's "Port" to VirtualMotionCapture's Port. (Default: 39539)
  10. Let's Play. (And turn on VirtualMotionCaputres OSC Function)

Clone this wiki locally