LoginSignup
2
2

More than 5 years have passed since last update.

"Unity"+"leap motion" [練習三つ]: VRGUI Project

Posted at

VRGUI Project: 「メニュができる!」

Goal: 空間に浮かぶGUIを作る

  • Step 1: UnityでLeap Motionを使ってGesture Motion認識ができる。
  • Step 2: uGUIでメニューを作って空間に浮かべる
  • Step 3:メニュー選択。任意のGameObjectからRaycastを飛ばしてメニューを選択できる。選択状態で色を変える。できたら音も。
  • Step 4:メニューで選択した項目を実行。メニューに任意のアクションを割り当てられるように実行する。

Step2.

メニュができる/消える

Swipe gestureのscriptでsetAtctiveを使った。

*下の方のSwipe motionをする時、メニュができる。
Screen Shot 2015-11-12 at 17.58.29.png

*上の方のSwipe motionをする時、メニュが消える。
Screen Shot 2015-11-12 at 17.58.49.png

※ユーチューブ
https://youtu.be/I9V_VmQ9dMM

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2