Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Unreal Engine VR template 解体新書

Avatar for NameChung NameChung
July 10, 2021
93

Unreal Engine VR template 解体新書

Avatar for NameChung

NameChung

July 10, 2021

Transcript

  1. このLTで解説する機能 - PlayerPawn と ControllerBPの最低限の設定 - 物を掴む、放す - テレポート -

    VRでのUIの設置方法 なおルームセットアップは立位のみを想定しています
  2. PlayerPawn Component Parent Class: Pawn DefaultSceneRoot (Scene component) VRCameraRoot (Scene

    component) VRCamera(Camera component) 特にコンポーネントの値をいじる必要はない
  3. PlayerPawn Event Graph - Event Begin Play (UnityでいうAwake) につなぐ -

    立位の場合Originを EyeLevelにする (ルームスケールの時は Floor Level)
  4. ControllerBP Component Parent Class : Actor DefaultSceneRoot(Scene component) MotionController(MotionController component)

    HandMesh(Skeletal Mesh Component) (コントローラーそのもののモデルを使う場合不要)
  5. ControllerBPの生成 - Controller BP上で EController Hand Typeの変数 HandTypeを作っておく - PlayerPawnのEvent

    Graphで生成す る この時に必ずHandTypeを指定する - AttachedActorToComponentで VRCameraRootにAttachしておく