LoginSignup
1
1

More than 5 years have passed since last update.

Daydream開発入門 PlayerにColliderをつけたらGvrControllerPointerが動かなくなった話

Posted at

事象

以下の画像のようPlayerが設定されているものとします
スクリーンショット 2017-11-19 6.56.27.png

このPlayerにColliderをつけると、コントローラーのポインターが動かなく(見当たらなく)なってしまいました
この記事はその解決法となります

解決法

Playerゲームオブジェクトの layerIgnore Raycast を指定します
スクリーンショット 2017-11-19 6.56.55.png

GvrPointerPhysicsRaycasterスクリプトの Raycaster Event Mask から Ignore Raycast のチェックを外します
スクリーンショット 2017-11-19 6.58.59.png

これでGvrControllerPointerが正常に動きます

1
1
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
1
1